num.intercepts: Extract number of intercepts

Description Usage Arguments Value See Also

Description

Extract the number of intercepts from a model

Usage

1
num.intercepts(fit, type=c('fit', 'var', 'coef'))

Arguments

fit

a model fit object

type

the default is to return the formal number of intercepts used when fitting the model. Set type='var' to return the actual number of intercepts stored in the var object, or type='coef' to return the actual number in the fitted coefficients. The former will be less than the number fitted for orm fits, and the latter for orm fits passed through fit.mult.impute

Value

num.intercepts returns an integer with the number of intercepts in the model.

See Also

orm, fit.mult.impute



Search within the Hmisc package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.