lmm.check {minque} | R Documentation |
An R function to obtain information from a linear mixed model
Description
Sometimes users may need run some simulations for a given data structure and/or a model. This function will give users the information used for simulation.
Usage
lmm.check(formula, data = list())
Arguments
formula |
A linear mixed model formula |
data |
A data frame used for modelling. It can be default |
Value
Return the information that will be used to preset values for simulation
comp1 |
Number of variance components including one for random error |
comp2 |
Names for all variance components not including the one for random error |
comp3 |
Levels of effects for each fixed effect component |
comp4 |
Names of all fixed effects |
Author(s)
Jixiang Wu <jixiang.wu@sdstate.edu>
Examples
library(minque)
data(ncii)
ncii$Female=factor(ncii$Female)
lmm.inf=lmm.check(Yld~Female|Female*Male+Rep,data=ncii)
lmm.inf
#End
[Package minque version 2.0.0 Index]