This function estimate the parameters and residuals for the NULL model in RGMMAT test

lbrat_est.glmm(y.long, time, y.cov, timecov = TRUE)

Arguments

y.long

Long-formatted phenotype vector

time

Time covarites matched with phenotype vector

y.cov

Covariate matrix denoting the covariate variables measured at each time

timecov

Logical variable, indicating whether the time fixed effect is estimated

Value

This function returns a list object with model parameters and residuals of the NULL GLMM model