miscmethods.mlogit {mlogit} | R Documentation |
Methods for mlogit objects
Description
Miscellaneous methods for mlogit
objects.
Usage
## S3 method for class 'mlogit'
residuals(object, outcome = TRUE, ...)
## S3 method for class 'mlogit'
df.residual(object, ...)
## S3 method for class 'mlogit'
terms(x, ...)
## S3 method for class 'mlogit'
model.matrix(object, ...)
model.response.mlogit(object, ...)
## S3 method for class 'mlogit'
update(object, new, ...)
## S3 method for class 'mlogit'
print(
x,
digits = max(3, getOption("digits") - 2),
width = getOption("width"),
...
)
## S3 method for class 'mlogit'
logLik(object, ...)
## S3 method for class 'mlogit'
summary(object, ..., type = c("chol", "cov", "cor"))
## S3 method for class 'summary.mlogit'
print(
x,
digits = max(3, getOption("digits") - 2),
width = getOption("width"),
...
)
## S3 method for class 'mlogit'
idx(x, n = NULL, m = NULL)
## S3 method for class 'mlogit'
idx_name(x, n = NULL, m = NULL)
## S3 method for class 'mlogit'
predict(object, newdata = NULL, returnData = FALSE, ...)
## S3 method for class 'mlogit'
fitted(
object,
type = c("outcome", "probabilities", "linpred", "parameters"),
outcome = NULL,
...
)
## S3 method for class 'mlogit'
coef(
object,
subset = c("all", "iv", "sig", "sd", "sp", "chol"),
fixed = FALSE,
...
)
## S3 method for class 'summary.mlogit'
coef(object, ...)
Arguments
outcome |
a boolean which indicates, for the |
... |
further arguments. |
x , object |
an object of class |
new |
an updated formula for the |
digits |
the number of digits, |
width |
the width of the printing, |
type |
one of |
n , m |
see |
newdata |
a |
returnData |
for the |
subset |
an optional vector of coefficients to extract for the
|
fixed |
if |