Learn R Programming

GSA.UN (version 1.0.0)

Cond_Moments: Conditional statistical moments of a model output

Description

This function evaluates the first four statistical moments after grouping the model output by different parametric ranges.

Usage

Cond_Moments(parameters_set, out_set, pp_names, steps = 100)

Arguments

parameters_set

matrix of dimensions n x pp, where n is the number of runs and pp is the number of parameters.

out_set

matrix of dimensions n x t, where n is the number of runs and t is the number of temporary steps.

pp_names

vector that contains the names of the parameters.

steps

number of divisions of the parametric range.

Value

A list of arrays, each array has dimensions of steps, t, pp.

Examples

Run this code
# NOT RUN {
data("parameters_set", "out_set", "pp_names")
# }
# NOT RUN {
CM <- Cond_Moments(parameters_set, out_set, pp_names, steps=15)
# }

Run the code above in your browser using DataLab