rcornorm | R Documentation |
Uses the Cholesky decomposition on the 2x2 matrix to simulate a vector of two correlated standard normals.
rcornorm(n, rho)
n |
number of vectors to simulate |
rho |
the correlation factor |
numeric vector/matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.