generate_pop_clust: Generate a population of clustered observations

Description Usage Arguments Value

View source: R/tsscs.R

Description

Generate a population containing clusters 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

Usage

1
generate_pop_clust(N, mean0, mean1, sigma0, sigma1, p1, cluster_size, tau)

Arguments

mean0

numeric value of mean for class label 0 (healthy)

mean1

numeric value of mean for class label 1 (diseased)

sigma0

numeric value of standard deviation for class label 0 (healthy)

sigma1

numeric value of standard deviation for class label 1 (diseased)

p1

numeric value for proportion of diseased observations in the population

size_clus

size of cluster

corr_mvn

numeric value for correlation in multivariate normal distribution

Value

Dataframe containing


tamytsujimoto/surveyROC documentation built on Sept. 8, 2021, 11:35 p.m.