Description Usage Arguments Value
generate correlated data
1 | gen.correlated(rho, n_samples = 100, n_sites = 4, mean = 0, sd = 1)
|
rho |
numeric correlation value between 0 and 1 |
n_samples |
generate data for this many samples |
n_sites |
generate data for this many sites (CpGs) |
mean |
vector of length |
sd |
sent to |
mat n_samples * n_sites matrix where cor(mat[,1],
mat[,2])
is on average equal to rho
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.