Description Usage Arguments Examples
Simulates one dataset with standard MVN correlated covariates and outcomes.
1 |
n |
Number of rows to simulate |
cor |
Correlation matrix (e.g., from |
1 2 3 4 5 6 7 8 | cor = make_corr_mat( nX = 5,
nY = 2,
rho.XX = -0.06,
rho.YY = 0.1,
rho.XY = -0.1,
prop.corr = 8/40 )
d = sim_data( n = 50, cor = cor )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.