View source: R/MGDrivE-Auxiliary.R
splitOutput | R Documentation |
Split output into multiple files by patches.
splitOutput(readDir, writeDir = NULL, remFile = TRUE, verbose = TRUE)
readDir |
Directory where output was written to |
writeDir |
Directory to write output to. Default is readDir |
remFile |
Remove original output? Default is TRUE |
verbose |
Chatty? Default is TRUE |
## Not run:
# This example assumes user has already run MGDrivE and generated output.
# If that's untree, see vignette for complete example
fPath <- "path/to/data/containing/folder"
oPath <- "path/to/write/output"
# split data by patch, keep original files
# no return value
splitOutput(readDir = fPath, writeDir = oPath, remFile = FALSE)
# Alternatively, remove the original files and write new ones in their place
fPath <- "path/to/data/containing/folder"
splitOutput(readDir = fPath, writeDir = NULL, remFile = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.