sims_check {sims} | R Documentation |
Checks the simulated data argument values in the '.sims.rds' file.
sims_check(path = ".")
path |
A string of the path to the directory with the simulated data. |
The checks include whether number and names of the data files in the directory are consistent with the number of simulations.
An informative error or invisible list of the argument values.
set.seed(10)
sims_simulate("a <- runif(1)",
save = TRUE, path = tempdir(), exists = NA,
ask = FALSE
)
(sims_check(tempdir()))