View source: R/check_rep_seeds_depr.R
check_rep_seeds_depr | R Documentation |
Checks every log file inside a folder for the record of the used seed and returns duplicated seeds and corresponding job arrays.
check_rep_seeds_depr(logs_path)
logs_path |
Character with path to the folder containing logs. Only log files should be present, in plain text format. |
A data frame with four columns. Each line contains the information of one result with a duplicated seed. There will be no lines if there are no duplicated seeds in the any of the logs. Columns are as follows:
Data
: A character vector with the name of the data set where duplicates
were found.
Models
: A numeric with corresponding array index. Will be empty if no
duplicates were found.
Seeds
: A numeric with the corresponding seed that was duplicated.
Array_indices
: A numeric with corresponding array index.
In this function, the lines containing the scraped values can be anywhere in
each file, as this occurred in older versions of the package. Checking is
thus less efficient and preference should be given to
check_rep_seeds()
in most cases, unless older log files are being
checked. check_rep_seeds()
will fail for most older log files.
Pedro Santos Neves
check_rep_seeds()
for optimized checks on current logs.
## Not run:
repeated_seeds <- check_rep_seeds_depr(logs_path = "/logs/")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.