Description Usage Arguments Details Examples
View source: R/Valid.correlation.R
The function computes the lower and upper bounds for the target correlations based on the marginal rates.
1 | Valid.correlation(no.pois, no.norm, lamvec)
|
no.pois |
Number of Poisson variables. |
no.norm |
Number of normal variables. |
lamvec |
A vector of marginal rates for Poisson variables. |
The function returns a list of two matrices. The min
contains the lower bounds and the max
contains the upper bounds of the feasible correlations.
1 2 | lamvec= c(0.05,0.07,0.09)
Valid.correlation(no.pois=3, no.norm=3,lamvec)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.