Simulate data from design (internal)
sim_data(
design,
empirical = FALSE,
long = FALSE,
rep = 1,
nested = TRUE,
seed = NULL
)
A list of design parameters created by check_design()
logical. If true, mu, sd and r specify the empirical not population mean, sd and covariance
Whether the returned tbl is in wide (default = FALSE) or long (TRUE) format
the number of data frames to return (default 1); if greater than 1, the returned data frame is nested by rep
Whether to nest data frames by rep if rep > 1
DEPRECATED use set.seed() instead before running this function
a tbl