initializeTrEvo: Create and define results and outputs folders structure.

View source: R/initializeTrEvo.R

initializeTrEvoR Documentation

Create and define results and outputs folders structure.

Description

Create folders within the working directory where results and outputs of TrEvol functions will be stored if "save" arguments are set to TRUE. Note that this function creates directories in your working directory and will assign their location in the objects "output.dir" and "results.dir".

Usage

initializeTrEvo(folder_name = "simulations")

Arguments

folder_name

(character) Name that will be given to the folder within which the results and outputs subfolders will be created.

Examples

## Not run: 
# Create outputs and results folders.

# Simulate example data
initializeTrEvo(folder_name = "simulations")

# Outputs directory
outputs.dir

Results directory
results.dir


## End(Not run)

pablosanchezmart/TrEvol documentation built on April 23, 2024, 4:05 p.m.