Description Usage Arguments Value See Also
View source: R/calc_final_corr.R
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.
1 | calc_final_corr(k_cat, k_cont, k_pois, k_nb, Y_cat, Yb, Y_pois, Y_nb)
|
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 |
a correlation matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.