mc4APEX: mc4APEX

Description Usage Arguments Value Examples

Description

Performs a Monte Carlo simulation using the settting in an input list or input text file generated from a call to "inputGen" function.

Usage

1
mc4APEX(input, usingTextFile = FALSE, savingInput4SA = TRUE)

Arguments

input

A list or a file name containing simulation and SA parameters.

usingTextFile

A logical variable specifying weather to read input from a list object or a text file.

savingInput4SA

A logical variable specifying weather to save outputs.

Value

A list object containing uncertainty and sensitivity analysis settings and prior parameter distributions.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
# Creating a copy of tutorial folder:
    getExampleFolder()
# Creating a list for setting inputs:
    globalInput <- inputGen()
# Setting parameter bounds:
    globalInput$apexPARM$Root_growth_soil[1] = 0.15
    globalInput$apexPARM$Root_growth_soil[2] = 0.2
    globalInput$apexPARM$Soil_evap_plant_cover[1] = 0
    globalInput$apexPARM$Soil_evap_plant_cover[2] = 0.5
# Performing Monte Carlo simulation:
    input4SA <- APEXSENSUN::mc4APEX(globalInput)

## End(Not run)

Rapex2017/apexsensun documentation built on May 4, 2019, 6:39 p.m.