Calculate the sensitivity of a function at the median

get.sensitivity(trait.samples, sa.splinefun)

Arguments

trait.samples
sa.splinefun

Value

numeric estimate of model sensitivity to parameter

Details

This function evaluates the sensitivity of a model to a parameter. This is done by evaluating the first derivative of the univariate spline estimate of the model response at the parameter median.