extractStruct: Extracting models' structures

View source: R/generics.R

extractStructR Documentation

Extracting models' structures

Description

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

Usage

extractStruct(m1, m0, randm0)

Arguments

m1

the model under H1

m0

the model under H0

randm0

a boolean stating whether the model under H0 contains any random effect

Value

A list with the following components:

detailStruct

a data frame containing the list of the parameters and whether they are tested or not

nameVarTested

the name of the variance components being tested

nameFixedTested

the name of the fixed effects being tested

dims

a list with the dimensions of fixed and random effects, tested or not tested

structGamma

the structure of the covariance matrix of the random effects diag, full or blockDiag


varTestnlme documentation built on Sept. 22, 2023, 5:13 p.m.