| r_dummy | R Documentation |
Generate random values from a wakefield variable function.
r_dummy(fun, n, ..., prefix = FALSE, rep.sep = "_")
fun |
A wakefield variable function. |
n |
The number of rows to produce. |
prefix |
logical. If |
rep.sep |
A separator to use for the variable and category part of names
when |
... |
Additional arguments passed to |
Returns a as_tibble.
r_list,
r_data_frame,
r_series
r_dummy(sex, 10)
r_dummy(race, 1000)
r_dummy(race, 1000, name = "Ethnicity")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.