| corrUnif | R Documentation |
Generate correlated Uniform(0,1) random variables
corrUnif(n, Rho)
n |
the desired number of sets of correlated Uniform random variables to generate |
Rho |
the desired correlation matrix |
a matrix containing the realizations in the rows
n <- 1000 q <- 10 X <- corrUnif(n,Rho = (10/20)^abs(outer(1:q,1:q,"-"))) Rho cor(X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.