mhurdle.methods {mhurdle} | R Documentation |
Methods for mhurdle fitted objects
Description
specific predict, fitted, coef, vcov, summary, ... for mhurdle objects. In particular, these methods enables to extract the several parts of the model
Usage
## S3 method for class 'mhurdle'
coef(
object,
which = c("all", "h1", "h2", "h3", "h4", "sd", "corr", "tr", "pos"),
...
)
## S3 method for class 'mhurdle'
vcov(
object,
which = c("all", "h1", "h2", "h3", "h4", "sd", "corr", "tr", "pos"),
...
)
## S3 method for class 'mhurdle'
logLik(object, naive = FALSE, ...)
## S3 method for class 'mhurdle'
print(
x,
digits = max(3, getOption("digits") - 2),
width = getOption("width"),
...
)
## S3 method for class 'mhurdle'
summary(object, ...)
## S3 method for class 'summary.mhurdle'
coef(
object,
which = c("all", "h1", "h2", "h3", "sd", "corr", "tr", "pos"),
...
)
## S3 method for class 'summary.mhurdle'
print(
x,
digits = max(3, getOption("digits") - 2),
width = getOption("width"),
...
)
## S3 method for class 'mhurdle'
fitted(object, which = c("all", "zero", "positive"), mean = FALSE, ...)
## S3 method for class 'mhurdle'
predict(object, newdata = NULL, what = c("E", "Ep", "p"), ...)
## S3 method for class 'mhurdle'
update(object, new, ...)
## S3 method for class 'mhurdle'
nobs(object, which = c("all", "null", "positive"), ...)
## S3 method for class 'mhurdle'
effects(
object,
covariate = NULL,
data = NULL,
what = c("E", "Ep", "p"),
reflevel = NULL,
mean = FALSE,
...
)
Arguments
object , x |
an object of class |
which |
which coefficients or covariances should be extracted
? Those of the selection ( |
... |
further arguments. |
naive |
a boolean, it |
digits |
see |
width |
see |
mean |
if |
newdata , data |
a |
what |
for the |
new |
an updated formula for the |
covariate |
the covariate for which the effect has to be computed, |
reflevel |
for the computation of effects for a factor, the reference level, |