lmm.check: 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