Description Usage Arguments Details
View source: R/rename.replicates.R
This function replaces the numbers between square brackets at the end of the
folder names of replicates within one scenario with the numbers provided in
suffix
1 | rename.replicates(path.results = NULL, scenario, suffix, verbose = FALSE)
|
path.results |
The path to the 'Results' folder |
scenario |
The scenario whose replicates need to be renamed |
suffix |
An integer vector to rename the replicates |
verbose |
Should progress be printed in the console? Default: FALSE |
rename.replicates
can process one scenario at the time. Processing of
multiple scenarios with the same suffix should be achieved using a loop (e.g.
lapply). suffix
should be of the same length as the number of
replicates.
Note that the order in which the original folder names are replaced may not be progressive. For example, normally the replicate '10' is renamed after replicate '1' and before '2'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.