calc_final_corr {SimMultiCorrData} | R Documentation |
Calculate Final Correlation Matrix
Description
This function calculates the final correlation matrix based on simulated variable type (ordinal, continuous, Poisson, and/or
Negative Binomial). The function is used in rcorrvar
and
rcorrvar2
. This would not ordinarily be called directly by the user.
Usage
calc_final_corr(k_cat, k_cont, k_pois, k_nb, Y_cat, Yb, Y_pois, Y_nb)
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 |
Y_cat |
the ordinal (r >= 2 categories) variables |
Yb |
the continuous variables |
Y_pois |
the Poisson variables |
Y_nb |
the Negative Binomial variables |
Value
a correlation matrix
See Also
[Package SimMultiCorrData version 0.2.2 Index]