powered by
Equivalent to cBern(n, p, rho, type="exchange")
cBernEx(n, p, rho)
number of observations
the vector of marginal probabilities with dimension m
a non-negative value indecating the shared correlation coefficient
an n*p matrix of binary data
# NOT RUN { X <- cBernEx(10, rep(0.5,3), 0.5) # }
Run the code above in your browser using DataLab