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