View source: R/simulation_settings.R
z_correlated_normal | R Documentation |
Z ~ N_{p}(0,\Sigma)
, where \Sigma_{jj} = 1
, \Sigma_{jk} = \text{corr}
for all j not equal to k.Generate n copies of Z ~ N_{p}(0,\Sigma)
, where \Sigma_{jj} = 1
, \Sigma_{jk} = \text{corr}
for all j not equal to k.
z_correlated_normal(n, p, corr)
n |
integer number of samples. |
p |
integer number of dimensions. |
corr |
float correlation in (-1,1). |
n by p matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.