SimCheck {SimDesign} | R Documentation |
Check for missing files in array simulations
Description
Given the saved files from a runArraySimulation
remote
evaluation check whether all .rds
files have been saved. If missing
the missing row condition numbers will be returned.
Usage
SimCheck(dir = NULL, files = NULL, min = 1L, max = NULL)
Arguments
dir |
character vector input indicating the directory
containing the |
files |
vector of file names referring to the saved simulation files.
E.g. |
min |
minimum number after the |
max |
maximum number after the |
Value
returns an invisible vector of missing indicies. If no missing then an empty vector is returned
Author(s)
Phil Chalmers rphilip.chalmers@gmail.com
References
Chalmers, R. P., & Adkins, M. C. (2020). Writing Effective and Reliable Monte Carlo Simulations
with the SimDesign Package. The Quantitative Methods for Psychology, 16
(4), 248-280.
doi:10.20982/tqmp.16.4.p248
See Also
runArraySimulation
, SimCollect
Examples
## Not run:
# if files are in mysimfiles/ directory
SimCheck('mysimfiles')
# specifying files explicility
setwd('mysimfiles/')
SimCheck(files=dir())
## End(Not run)