# Generate binary covariate datasets with 1 datasets, 10 clusters, and 6 samples per cluster
print(gendat(type = 'bin', dimension = 1, K = 6, n = 10, lambda = c(1, 2),
b1 = c(log(2),-log(2)), theta = 8, censrate = 0.5))
Run the code above in your browser using DataLab