fitted.mim {mimR} | R Documentation |
Extracts fitted values (parameter estimates) from a mim model.
## S3 method for class 'mim': fitted(object, ...) modelInfo(object,slot=NULL)
object |
A mim model object |
... |
Other argumens |
slot |
A specific slot of the modelInfo list. If NULL, the entire list is returned. |
A data frame
Before using mimR, make sure that the MIM program is runnning.
Søren Højsgaard, sorenh@agrsci.dk
David Edwards, An Introduction to Graphical Modelling, Second Edition, Springer Verlag, 2000
data(rats) gmd.rats <- as.gmData(rats) m2 <- mim("..", data=gmd.rats) mf2 <- fit(m2) parms <- fitted(mf2) parms