Skip to contents

The birdtrends package enables users to estimate trends of populations into the future based on a variety of input data types.

Getting set-up

  1. Install birdtrends
remotes::install_github("ninoxconsulting/birdtrends")
  1. Set up modelling connections.

The birdtrends package uses the cmdstanr package to run the hierarchical GAM models using Stan. We can install cmdstanr with:

install.packages("cmdstanr", repos = c("https://mc-stan.org/r-packages/",
                                       getOption("repos")))

The cmdstanr package in turn requires the cmdstan program to run Stan programs. You can use the cmdstanr package to cmdstan:

cmdstanr::install_cmdstan()

And then check that cmdstan was installed properly:

What dataset can be used?

what type of models can we use?

Output summaries