Functions extracting the structure of the models under both hypothesis: the number of fixed and random effects, the number of tested fixed and random effects, and the residual dimension, as well as the random effects covariance structure
extractStruct(m1, m0, randm0)the model under H1
the model under H0
a boolean stating whether the model under H0 contains any random effect
A list with the following components:
detailStructa data frame containing the list of the parameters and whether they are tested or not
nameVarTestedthe name of the variance components being tested
nameFixedTestedthe name of the fixed effects being tested
dimsa list with the dimensions of fixed and random effects, tested or not tested
structGammathe structure of the covariance matrix of the random effects diag, full or
blockDiag