Description Usage Arguments Examples
View source: R/MGDrivE-Auxiliary.R
Split output into multiple files by patches.
1 | 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 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## 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.