These methods expose drmTMB fits to standard base-R model summary and
comparison helpers.
Usage
# S3 method for class 'drmTMB'
nobs(object, ...)
# S3 method for class 'drmTMB'
df.residual(object, ...)
# S3 method for class 'drmTMB'
deviance(object, ...)Details
nobs() returns the number of fitted rows after complete-case filtering.
df.residual() returns nobs - df, where df is the number of optimized
top-level parameters recorded in logLik(). deviance() returns
-2 * logLik; for these likelihood-based distributional models this is an
absolute negative twice log-likelihood value, not a saturated-model GLM
deviance.