powered by
This function works like coef from the stats package. It extracts the coefficients from the objects.
coef
stats
coef(object, ...)# S4 method for pim coef(object, ...)# S4 method for pim.summary coef(object, ...)
# S4 method for pim coef(object, ...)
# S4 method for pim.summary coef(object, ...)
a named vector with the coefficients.
a pim or pim.summary object
pim
pim.summary
currently ignored.
data("FEVData") Model <- pim(FEV~ Age + Smoke*Sex , data=FEVData) coef(Model) summ <- summary(Model) coef(summ)
Run the code above in your browser using DataLab