separate_rho: Separate Target Correlation Matrix by Variable Type

Description Usage Arguments Value See Also

View source: R/separate_rho.R

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

1
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


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