Generates a simulated dataset for testing mvSuSiE.
Arguments
- n
Number of samples.
- p
Number of variables.
- r
Number of outcomes.
- s
Number of effect variables per outcome if >= 1; proportion of effect variables per outcome if < 1.
- center_scale
If
TRUE, center and scale X and Y.- y_missing
Fraction of entries in Y to set to
NA(per sample, per outcome). IfNULL, no missing values are created.