genBin
generate the data used for discrete case
genBin(corstr, mu = NULL, size = NULL)
A character string specifying the correlation structure for the clusters. Allowed structures are: "independence", "exchangeable" and "ar1".
A numeric parameter denotes the value of the link function
A numeric number indicating the size of the matrix.
a function to get the correlated binary response data
genBin returns the correlated binary response according to the value of the corstr argument.