permutation_mars.RdThis is a wrapper around mars() to perform one permutation replicate.
Single-level structures permute rows; multilevel structures permute highest-level
cluster blocks.
permutation_mars(
data,
studyID,
effectID,
sample_size,
effectsize_type = NULL,
formula = NULL,
variable_names = NULL,
effectsize_name = NULL,
estimation_method = "REML",
variance = NULL,
varcov_type,
weights = NULL,
structure = "UN",
intercept = FALSE,
missing = "remove",
optim_method = "L-BFGS-B",
robustID = NULL,
multivariate_covs = NULL,
lasso = FALSE,
lasso_args = list(lambda_grid = 10^seq(-3, 1, length.out = 10), K = 5,
all_lasso_metrics = FALSE),
tol = 1e-10,
...
)Data used for analysis
Character string representing the study ID
Character string representing the effect size ID
Character string representing the sample size of the studies.
Type of effect size being analyzed
The formula used for specifying the fixed and random structure.
Vector of character strings representing the attributes with correlations. The attributes that are correlated should be separated by an underscore.
Character string representing the name of the effect size column in the data.
Type of estimation used, either "REML" or "MLE", REML is the default
Character string representing the name of the variance of the effect size in the data.
Type of variance covariance matrix computed.
User specified matrix of weights for analysis.
Between studies covariance structure.
Whether a model intercept should be specified.
Whether missing data should be removed, or kept.
Optimization method that is passed to the optim function.
A character vector specifying the cluster group to use for computing the robust standard errors.
A one-sided formula to specify the covariates used in a multivariate analysis.
TRUE/FALSE indicator that specifies if LASSO results are returned.
A list of LASSO specific arguments.
Tolerance of the optimization.
Not currently used.