BuildEnsemble: Extracts the ensemble bounds from a given a set of...

Description Usage Arguments Value Examples

Description

Results are generally divided in multiple files, therefore the function requires the simulations' folder path.

Usage

1
2
3
BuildEnsemble(observedQ, SimulationFolder, realisations, lowerP = 0.05,
  upperP = 0.95, verbose = FALSE, outputQ = FALSE, bigfile = FALSE,
  minmaxOnly = FALSE)

Arguments

observedQ

this is the observed streamflows

SimulationFolder

path to the folder where simulations are stored

realisations

this is a data frame containing the following columns: mid (list of model structures to use) and pid (list of parameter indices to use)

lowerP

lower probability (e.g. 0.05 means 5th percentile)

upperP

upper probability (e.g. 0.95 means 95th percentile)

verbose

if set to TRUE it prints running information

outputQ

if set to TRUE, the funtion also returns the discharges matrix

bigfile

if set to TRUE, the funtion uses the bigmemory package

minmaxOnly

if set to TRUE, the funtion calculate the bounds as min and max.

Value

A data.frame with 6 columns: date&time (Dates), observed discharge (Qobs), lower bound (lQ), median (mQ), upper bound (uQ), minimum (min) and maximum (max).

Examples

1
# BuildEnsemble(observedQ, SimulationFolder, realisations, verbose = TRUE, outputQ = TRUE)

cvitolo/amca documentation built on May 28, 2019, 7:49 p.m.