Simplify the "R", "M" and/or "L" element of the output of calcSensitivityFromMatrix or calcSensitivityFromModel, by setting all elements smaller than a threshold (in absolute value) to 0. The results are renormalized.

simplifySensitivities(sens, elt = NULL, tol = 0.001)

Arguments

sens

Named list of sensitivity indicators as produced by calcSensitivityFromMatrix or calcSensitivityFromModel.

elt

List with elements "R", "M" and/or "L" for simplification of R, M and/or L. NULL can be used as shorthand for all.

tol

Threshold for setting elements to 0. Default value 0.001, i.e. all elements contributing less than 0.1% to the Euclidean vector norm are set to 0.

Value

The list sens, with a modified "R", "M" and/or "L" element. If the input list sens does not contain these elements, then it is returned without change.

See also

Other result modifiers: normalizeFim(), normalizeVariations(), simplifyFimIdent()

Author

Martijn van Noort