G_generate {fastFMM}R Documentation

Creates the design matrix that allows for estimation of G

Description

The function 'G_estimate' uses a MoM method, and 'G_estimate_randint' is a special case of 'G_estimate'.

Usage

G_generate(data, Z_lst, RE_table, MoM, ID = "id")

Arguments

data

Data frame that contains the predictors and outcome

Z_lst

Transposed list of Z matrices from the univariate fits

RE_table

Table of random effects and interactions, generated from the 'lmerMod' object

MoM

Integer to determine type of MoM estimation.

ID

Name of the ID factor, assuming names of 'HHat' are generated from the same table in the same order

Details

Helper function for variance estimation in 'fui'.

Value

List containing Z matrices and indices (unsure)


[Package fastFMM version 0.4.0 Index]