Usage
cwrEm(X, Y, nc, max_iter = 1000, thresh = 0.01, cov_typeX = "full",
cov_typeY = "full", clamp_weights = FALSE, create_init_params = TRUE,
cwrStart = NULL, cov_priorX = NULL, cov_priorY = NULL, verbose = TRUE,
regress = TRUE, clamp_covX = FALSE, clamp_covY = FALSE)
Arguments
max_iter
Max iterations. Default 1000
thresh
threshold to assess numerical convergence. Default 0.01
cov_typeX
Type of covariance of groups in X space. May be: "full" (default), "spherical", "diagonal"
cov_typeY
Type of covariance of groups in Y space. May be: "full" (default), "spherical", "diagonal"
clamp_weights
Fixed weights
create_init_params
Creates initial parameters
cwrStart
cwrObj to initialize. If autostart -> NULL
cov_priorX
Prior X covariance if not autostart. See cov_typeX
cov_priorY
Prior Y covariance if not autostart. See cov_typeY
verbose
Prints details of estimation process
regress
Regression model. Default TRUE
clamp_covX
Fixed covX matrix.
clamp_covY
Fixed covY matrix.