Calculate distribution of function of a variable
Arguments
- splinefuns
univariate spline functions created for each trait, e.g. by the
sensitivity.analysisfunction.- trait.samples
n x m matrix (or list with m vectors of length n) of n parameter sets, each with a sample from m traits
- maxn
maximum number of parameter sets to evaluate
Details
Transform trait parameter through trait-specific univariate model emulator spline function
Given a matrix of parameter sets, calculates a matrix of model output
by applying appropriate spline function to each parameter.
Output is used with plot_variance_decomposition
and spline.ensemble