Description Usage Arguments Details Value Examples
View source: R/simulationfunctions.R
Function to generate data from multivariate normal with different mean.
1 | datgen(n, m, m0, sigeff, Sigma)
|
n |
number of samples |
m |
number of cords |
m0 |
number of non sparse elements |
sigeff |
magnitude of signal |
Sigma |
Covariance matrix |
This function generates data from multivariate normal distribution with given covariance matrix. The mean values are either zero or constant sigeff, randomly permuted among the coordinates.
X data matrix of size nxm
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.