coef {pim} | R Documentation |
Extract the coefficients from a pim or pim.summary object
Description
This function works like coef
from the stats
package. It extracts the coefficients from the objects.
Usage
coef(object, ...)
## S4 method for signature 'pim'
coef(object, ...)
## S4 method for signature 'pim.summary'
coef(object, ...)
Arguments
object |
a |
... |
currently ignored. |
Value
a named vector with the coefficients.
Examples
data("FEVData")
Model <- pim(FEV~ Age + Smoke*Sex , data=FEVData)
coef(Model)
summ <- summary(Model)
coef(summ)
[Package pim version 2.0.2 Index]