R package for Bayesian inference of abundance trends