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 pim or pim.summary object
pim
pim.summary
currently ignored.
a named vector with the coefficients.
# NOT RUN { 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