View source: R/lme_mass_fit_Rgw.R
lme_mass_fit_Rgw | R Documentation |
Mass-univariate linear mixed-effects model fitting using spatially homogeneous regions
lme_mass_fit_Rgw(
X,
Zcols,
Y,
ni,
Th0,
Rgs,
Surf,
fname = NA,
Dtype = "euc",
sptm = "exp",
prs = 1,
e = 0.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 |
Th0 |
Output from |
Rgs |
Output from |
Surf |
Spherical surface from |
fname |
(currently ignored) |
Dtype |
Distance (default: euclidean) |
sptm |
Spatial measure (default: exp) |
prs |
Number of cores for parallel computing (default: 1) |
e |
Tolerance (default: 10^-1) |
This function returns a list of lists, with entries st (=status) and stats, with the following entries: Bhat, CovBhat, phisqhat, Dhat, Zcols, invEI, Pth, Qthth, lreml
## Not run: Surf <- lme_readsurf(...)
## Not run: FitInit <- lme_mass_fit_init(...)
## Not run: RgGrow <- lme_mass_RgGrow(...)
## Not run: fitRgw <- lme_mass_fit_Rgw(X, Zcols, Y, ni, FitInit$Theta0, RgGrow$Regions, Surf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.