Description Usage Arguments Value See Also Examples
This function converts a vector of values representing the terms of a lower triangular matrix A with ones on the diagonal and returns the correlation matrix corresponding to the covariance matrix AA' (see page 235 in QRM).
1 | Pconstruct(theta)
|
theta |
|
matrix
1 2 3 | P <- Pconstruct(1:6)
eigen(P)
Pdeconstruct(P)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.