Learn R Programming

textir (version 1.8-8)

coef.mnlm: mnlm coefficients

Description

Coefficients for Multinomial Regression

Usage

## S3 method for class 'mnlm':
coef( object, origscale=TRUE, ... )

Arguments

object
An output object from the pls function.
origscale
Whether to ouput coefficients on the original covariate scale (i.e. before possible normalization). Default is TRUE, and origscale=FALSE just outputs raw loadings for the fitted model
...
Additional unused arguments.

Value

  • A ncol(object$covars)+1 by ncol(object$counts) (or by 1 for binary response) matrix of coefficients, including the intercept.

References

Taddy (2012), Multinomial Inverse Regression for Text Analysis. http://arxiv.org/abs/1012.2098

See Also

mnlm