Pdeconstruct | R Documentation |
This function takes a correlation matrix P
and returns the
elements of a lower-triangular matrix A
with ones on the
diagonal such that P
is the corelation matrix corresponding to
the covariance matrix AA'
(see page 235 in QRM).
Pdeconstruct(P)
P |
|
vector
Pconstruct
P <- Pconstruct(1:6)
Pdeconstruct(P)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.