Calculate confidence interval of derivative, adapted from Gavin Simpson.
confint_Deriv.Rd
Arguments
- object
vector output of Deriv()
- term
string smooth name, i.e. "year". must match values in mod and newdata
- alpha
confidence threshold. default 0.05 (for 95
vector of confidence intervals of same length as object. Calculate confidence interval of derivative, adapted from Gavin Simpson.