simulateData | R Documentation |
Simulate normal distributed data.
simulateData(pi0,m,n, rho, seed = NULL, power = 0.8, alpha = 0.05)
pi0 |
Numeric value in '[0,1]'. Proportion of true null hypothesis. |
m |
Numeric value. Number of variables. |
n |
Numeric value. Number of observations. |
rho |
Numeric value in '[0,1]'. Level of equi-correlation between pairs of variables. |
seed |
Integer value. If you want to specify the seed. Default to to |
power |
Numeric value in '[0,1]'. Level of power. Default to 0.8. |
alpha |
Numeric value in '[0,1]'. |
Returns a matrix with dimensions m \times n
.
Angela Andreella
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.