separate_rho {SimMultiCorrData} | R Documentation |
Separate Target Correlation Matrix by Variable Type
Description
This function separates the target correlation matrix rho by variable type (ordinal, continuous, Poisson, and/or
Negative Binomial). The function is used in findintercorr
,
rcorrvar
, findintercorr2
, and
rcorrvar2
. This would not ordinarily be called directly by the user.
Usage
separate_rho(k_cat, k_cont, k_pois, k_nb, rho)
Arguments
k_cat |
the number of ordinal (r >= 2 categories) variables |
k_cont |
the number of continuous variables |
k_pois |
the number of Poisson variables |
k_nb |
the number of Negative Binomial variables |
rho |
the target correlation matrix |
Value
a list containing the target correlation matrix components by variable combination
See Also
findintercorr
, rcorrvar
,
findintercorr2
, rcorrvar2
[Package SimMultiCorrData version 0.2.2 Index]