calc_final_corr: Calculate Final Correlation Matrix

Description Usage Arguments Value See Also

View source: R/calc_final_corr.R

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

1
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

rcorrvar, rcorrvar2


SimMultiCorrData documentation built on May 2, 2019, 9:50 a.m.