Description Usage Arguments Details Examples
View source: R/validate.target.cormat.R
The function checks the validity of the values of pairwise correlations. Additionally, it checks positive definitiveness, symmetry and correct dimension.
1 | validate.target.cormat(plist, CorrMat, no.ord, no.norm)
|
plist |
A list of probability vectors corresponding to each ordinal variable. The i-th element of |
CorrMat |
The target correlation matrix which must be positive definite and within the valid limits. |
no.ord |
Number of ordinal variables. |
no.norm |
Number of normal variables. |
In addition to being positive definite and symmetric, the values of pairwise correlations in the target correlation matrix must also fall within the limits imposed by the marginal distributions of the ordinal variables.The function ensures that the supplied correlation matrix is valid for simulation. If a violation occurs, an error message is displayed that identifies the violation. The function returns a logical value TRUE
when no such violation occurs.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.