sims_check: Check Simulated Data

View source: R/check.R

sims_checkR 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()))

poissonconsulting/sims documentation built on June 18, 2022, 2:36 a.m.