Simulate data from design (internal)
sim_design_(design, empirical = FALSE, long = FALSE, seed = NULL, sep = faux_options("sep"))
| design | A list of design parameters created by check_design() |
|---|---|
| empirical | logical. If true, mu, sd and r specify the empirical not population mean, sd and covariance |
| long | Whether the returned tbl is in wide (default = FALSE) or long (TRUE) format |
| seed | a single value, interpreted as an integer, or NULL (see set.seed) |
| sep | separator for within-columns, defaults to _ (see tidyr::separate) |
a tbl