powered by
Instantiates reproducible synthetic mixed model datasets and formulas spanning factor dimensions, covariance structures, relationship densities, and tasks.
generate_mme_workload(name = NULL, n_ind = 60L, n_levels = 5L, structure = c("ar1", "ar2", "us", "diag", "fa", "rr", "spatial", "sar", "car"), relationship = c("none", "dense", "sparse"), missing_rate = 0.0, reml = TRUE, computeCi = 0L, seed = 42L)
A list of class "mme_workload" containing data, formulas, REML and computeCi settings, and workload metadata.
"mme_workload"
Descriptive label for the workload.
Number of unique individuals / genotypes. Default is 60.
Number of factor levels (e.g. environments, timepoints, or sites). Default is 5.
Covariance structure type. Supported: "ar1", "ar2", "us", "diag", "fa", "rr", "spatial", "sar", "car".
"ar1"
"ar2"
"us"
"diag"
"fa"
"rr"
"spatial"
"sar"
"car"
Individual relationship matrix: "none" (identity), "dense" (genomic relationship inverse), or "sparse" (pedigree inverse).
"none"
"dense"
"sparse"
Fraction of missing response values (0.0 to 0.5). Default is 0.0.
Logical; whether to fit by REML (TRUE) or ML (FALSE). Default is TRUE.
Final inverse demand: 0 (none), 1 (Takahashi selected inverse), 2 (full inverse).
Random seed for reproducible dataset simulation.
mmes, mmes_control
mmes
mmes_control
# Generate a small 1D autoregressive workload wl <- generate_mme_workload( name = "demo_ar1", n_ind = 20, n_levels = 4, structure = "ar1" )
Run the code above in your browser using DataLab