View source: R/lme_mass_fit_init.R
lme_mass_fit_init | R Documentation |
Initialize model fit
lme_mass_fit_init(X, Zcols, Y, ni, maskvtx = NA, numcore = 1)
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) |
The function returns an initial model fit, i.e. a list with entries Bhat0, Theta0, and Re0.
## Not run: fitInit <- lme_mass_fit_init(X, Zcols, Y, ni)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.