newDir: Create a New Directory with Installed Data Files

Description Usage Arguments See Also Examples

View source: R/newDir.R

Description

A folder name "runBATMAN" will be created in specified directory, within which, two folders "BatmanInput" and "BatmanOutput" are created. "BatmanInput" contains the input data files from installed package folder "extdata" and user inputted data files. The user only needs to modify files in this folder to change the settings for running batman. The batman output files will be saved in "BatmanOutput" subfolders.

Usage

1
newDir(runBATMANDir = getwd(), overwriteFile = FALSE)

Arguments

runBATMANDir

User specified directory for working with BATMAN, the default is current work directory.

overwriteFile

If folder "runBATMAN" exist, set TRUE will overwrite folder. The default is FALSE.

See Also

batman

Examples

1
2
3
4
5
6
library(batman)
## This will create the folder "runBATMAN" in current working directory, 
## within the folder "runBATMAN", a subfolder "BatmanInput" contains all the
## input files batman uses. Users can modify the input files to change 
## the settings for running batman.
newDir(runBATMANDir = getwd(), overwriteFile = TRUE) 

batman documentation built on May 2, 2019, 6:13 p.m.