lme_mass_fit_init: Initialize model fit

View source: R/lme_mass_fit_init.R

lme_mass_fit_initR Documentation

Initialize model fit

Description

Initialize model fit

Usage

lme_mass_fit_init(X, Zcols, Y, ni, maskvtx = NA, numcore = 1)

Arguments

X

Design matrix

Zcols

Vector of random effect indices in design matrix

Y

Outcome variable

ni

Vector indicating the repeated observations of each subject

maskvtx

Indices (one-based) for vertices to include in the analysis (default: all)

numcore

Number of cores for parallel computing (default: 1)

Value

The function returns an initial model fit, i.e. a list with entries Bhat0, Theta0, and Re0.

Examples

## Not run: fitInit <- lme_mass_fit_init(X, Zcols, Y, ni)

Deep-MI/fslmer documentation built on Jan. 24, 2025, 11:24 p.m.