View source: R/validation.range.R
validation.range | R Documentation |
This function checks if there are correlation range violations among binary-binary, binary-normal and normal-normal combinations.
validation.range(no.bin, no.nor, prop.vec.bin = NULL, corr.mat)
no.bin |
Number of binary variables |
no.nor |
Number of normal variables |
prop.vec.bin |
Probability vector for binary variables |
corr.mat |
Specified correlation matrix |
cmat=lower.tri.to.corr.mat(corr.vec=c(0.16,0.04,0.38,0.4,0.47,0.68),4)
validation.range(no.bin=2, no.nor=2, prop.vec.bin=c(0.4,0.7), corr.mat=cmat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.