get.elasticity.RdGeneric function for the elasticity
get.elasticity(sensitivity, samples, outputs)
| sensitivity | univariate sensitivity of model to a parameter, can be calculated by |
|---|---|
| samples | samples from trait distribution |
| outputs | model output from ensemble runs |
elasticity = normalized sensitivity
Given the sensitivity, samples, and outputs for a single trait, return elasticity