lmm.check: An R function to obtain information from a linear mixed model

Description Usage Arguments Value Author(s) Examples

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

1

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

1
2
3
4
5
6
7
  library(minque)
  data(ncii)
  ncii$Female=factor(ncii$Female)
  lmm.inf=lmm.check(Yld~Female|Female*Male+Rep,data=ncii)
  lmm.inf

  #End

minque documentation built on Jan. 11, 2020, 9:18 a.m.

Related to lmm.check in minque...