glmm_est: NULL model estimation for GMMAT and RGMMAT

View source: R/rvmmat_est.R

glmm_estR Documentation

NULL model estimation for GMMAT and RGMMAT

Description

This function estimate the parameters and residuals for the NULL generalized linear mixed effect model

Usage

glmm_est(
  y.long,
  time,
  y.cov,
  phe.model = phe.model,
  maxiter = 50,
  tol = 10^(-6)
)

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

phe.model

String, the phenotype model, two optional values: 'logistic', 'Gaussian'

maxiter

Numeric, the maximum count for the iterative estimation in when using mixture correlation structure

tol

Numeric, tolerance for the iterative estimation in when using mixture correlation structure

Value

This function returns a list object with model parameters and residuals of the NULL generalized linear mixed effect model


ZWang-Lab/RVMMAT documentation built on Sept. 27, 2024, 5:19 p.m.