get.gi.phii.Rd
Calculate distribution of function of a variable
get.gi.phii(splinefuns, trait.samples, maxn = NULL)
splinefuns | univariate spline functions created for each trait, e.g. by the |
---|---|
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 |
matrix of spline estimates of model output for each of n parameter sets
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