Calculate distribution of function of a variable

get.gi.phii(splinefuns, trait.samples, maxn = NULL)

Arguments

splinefuns

univariate spline functions created for each trait, e.g. by the sensitivity.analysis function.

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

Value

matrix of spline estimates of model output for each of n parameter sets

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 use with variance.decomposition and spline.ensemble