Description Usage Arguments Value
Generate one cluster containing healthy and diseased observations generated from normal distributions. The correlated binary data is generated using the multivariate probit method. The correlated continuous marker values are generated by including a random effect
1 | genenate_clust(size_clus, corr_mvn, mean0, mean1, sigma0, sigma1, p1, tau)
|
size_clus |
size of cluster |
corr_mvn |
numeric value for correlation in multivariate normal distribution |
mean0 |
numeric vector of mean for class label 0 (healthy) for all strata |
mean1 |
numeric vector of mean for class label 1 (diseased) for all strata |
sigma0 |
numeric vector of standard deviation for class label 0 (healthy) for all strata |
sigma1 |
numeric vector of standard deviation for class label 1 (diseased) for all strata |
p1 |
numeric value for proportion of diseased observations in the population |
Dataframe containing
cluster_size: cluster size
X: continuous marker values
D: class labels (0: healthy; 1: diseased)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.