rvmmat_est: NULL model estimation

View source: R/rvmmat_est.R

rvmmat_estR Documentation

NULL model estimation

Description

This function estimate the parameters and residuals for the NULL model in RVMMAT

Usage

rvmmat_est(
  y.long,
  time,
  y.cov,
  phe.model = phe.model,
  maxiter = 50,
  tol = 10^(-6),
  Hd = 2,
  VCcorrection = FALSE
)

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

Hd

Numeric, degree of derivative of smooth function which lead to smooth spline of order 2Hd

VCcorrection

Logical variable, indicating whether apply correction for variance components and natural parameters

Value

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


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