Description Usage Arguments Value Examples
Generates the square root of the covariance matrix
1 | generateCov(p, type = c("diag", "corrUniform", "corrDecay"), rho = 0.8)
|
p |
the number of predictors |
type |
|
rho |
the correlation, ignored for |
Returns the square root of the covariance
1 2 3 | generateCov(10,'diag')
generateCov(10, 'corrDecay')
generateCov(10, 'corrDecay',.9)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.