rhoMax1dep {CorBin} | R Documentation |
To calculate the maximal allowed correlations max for using cBern1dep to generate binary data with 1-dependent structure
rhoMax1dep(p)
p |
the vector of marginal probabilities with dimension m |
an (m-1)-dimensional vector rho, which is the maximum the correlation between the adjacent variables