Description Usage Arguments Details Value Author(s) Examples
Searches for files matching a file stub and the appropriate format, performs a series of checks on the folder contents, and returns a list of file names.
1 | recoverSaves(fileStub, force=FALSE)
|
fileStub |
a character value to use as the first part of the file name; it can include the path, but files will be searched for only in the current working directory and its subdirectories. |
force |
if TRUE, errors will not be thrown and the resulting file list may not be valid. |
The function first checks that the target folder exists and that files matching the fileStub
are present. It then checks that (1) all chains have the same number of files (if force=TRUE
, extra files are not included in the list returned), (2) file IDs are not duplicated, (3) file IDs are in the right sequence, (4) no files have size 0.
An object of class 'saveJAGSfileList', a list of file names with one component per chain. There is a summary method for the class.
Mike Meredith.
1 | # See the examples for saveJAGS function
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.