Estimate percent change trends from GAM results for selected time periods
Source:R/anlz_perchg.R
anlz_perchg.Rd
Estimate percent change trends from GAM results for selected time periods
Arguments
- mod
input model object as returned by
anlz_gam
- baseyr
numeric vector of starting years
- testyr
numeric vector of ending years
Details
Working components of this function were taken from the gamDiff function in the baytrends package.