
Last chance! 50% off unlimited learning
Sale ends in
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.
SimCheck(dir = NULL, files = NULL, min = 1L, max = NULL)
returns an invisible TRUE if all the files are present and FALSE otherwise
character vector input indicating the directory
containing the .rds
files (see files
)
vector of file names referring to the saved simulation files.
E.g. c('mysim-1.rds', 'mysim-2.rds', ...)
minimum number after the '-'
deliminator. Default is 1
maximum number after the '-'
deliminator. If not specified
is extracted from the attributes in the first file
Phil Chalmers rphilip.chalmers@gmail.com
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.
tools:::Rd_expr_doi("10.20982/tqmp.16.4.p248")
runArraySimulation
, SimCollect
if (FALSE) {
# if files are in mysimfiles/ directory
SimCheck('mysimfiles')
# specifying files explicility
setwd('mysimfiles/')
SimCheck(files=dir())
}
Run the code above in your browser using DataLab