Description Usage Arguments Value Examples
Spawn a chain network covariance matrix
1 | ChainNetwork(p, n_perm = p, a = 0.5, prec_mat = F, scaled = T)
|
p |
Positive integer.The desired number of dimensions. |
n_perm |
Positive integer. The first n_perm dimensions will be permuted randomly. |
a |
Positive float between 0 and 1. Scale parameter for the elements of the covariance matrix |
prec_mat |
Should the precision matrix be returned? If false the covariance matrix will be returned (default). |
scaled |
If TRUE the created precision matrix will be inverted and scaled to a correlation matrix. |
A covariance or precision matrix.
1 | ChainNetwork(50)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.