View source: R/draw_data_prb.R
draw_data | R Documentation |
Generate binary data
draw_data(
n = 200,
prev = c(0.5, 0.5),
random = FALSE,
m = 10,
method = c("roc", "lfc", "pr"),
pars = list(),
...
)
n |
(numeric) |
prev |
(numeric) |
random |
(logical) |
m |
(numeric) |
method |
(character) |
pars |
(list) |
... |
(any) |
(matrix)
generated binary data (possibly stratified for subgroups)
draw_data()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.