Description Usage Arguments Value Examples
View source: R/generate_data.R
Generate binary data
1 2 3 4 5 6 7 8 9 |
n |
integer, overall sample size |
prev |
numeric, vector of class prevalences (adding up to 1) |
random |
logical, random sampling (TRUE) or fixed group sample sizes |
m |
integer, number of models |
method |
character, either "roc", "lfc" (multiple subgroups) or "prob" (no subgroups) |
pars |
list, containing further named parameters passed to |
... |
further named parameters passed |
generated binary data (possibly stratified for subgroups)
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.