list_CLU_folders: List the locations of the CLU folders

Description Usage Arguments Value Examples

View source: R/List_CLU_folders.R

Description

List the locations of the CLU folders

Usage

1
list_CLU_folders(inpath, scenario)

Arguments

x

the path to the folder containing the scenario folder

y

the scenario name

Value

The locations of the folders as a list

Examples

1
2
3
4
5
6
7
8
9
CLU_folders <- list_CLU_folders(inpath = "C:/Bep/Projects/CLUMondo/SSP Implementation/Scenario_", scenario = "SSP2")

neighmat <- "C:/Bep/Projects/CLUMondo/Model documentation/Model_codes_templates/neighmat.txt"

for(i in 1:length(CLU_folders)){
 folder <- CLU_folders[i]

 file.copy(alloc2, folder, overwrite = TRUE)
}

BepSchrammeijer/CLUvalid documentation built on March 22, 2018, 3:45 p.m.