Description Usage Arguments Value
Generate stratified SRS and compute the sampling weight
1 | generate_srs_strat(pop_strat, sample_size)
|
pop_strat |
stratified population from where sample will be drawn |
sample_size |
desired final sample size |
a dataframe containing
strata: strata identifier
strata_size: size of strata in the population
weight: Stratified SRS weight
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.