Learn R Programming

⚠️There's a newer version (0.5.0) of this package.Take me there.

Distributions for Ecological Models in 'nimble'

This repository provides user-defined distributions that can be used in NIMBLE models for common population ecology statistical models. These include distributions for:

  • basic capture-recapture distributions (Cormack-Jolly-Seber),
  • hidden Markov model distributions for multi-state and multi-event capture-recapture models,
  • occupancy models,
  • dynamic occupancy models, and
  • N-mixture models.

Community contributions or suggestions for other needs are welcome.

Some of these models were used (in slightly different forms) in:

D. Turek, P. de Valpine, and C. J. Paciorek. 2016. Efficient Markov chain Monte Carlo sampling for hierarchical hidden Markov models. Environmental and Ecological Statistics 4:549-564.

Copy Link

Version

Install

install.packages('nimbleEcology')

Monthly Downloads

392

Version

0.4.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Benjamin R. Goldstein

Last Published

May 4th, 2021

Functions in nimbleEcology (0.4.0)

dDynOcc

Dynamic occupancy distribution for use in nimble models dDynOcc_** and rDynOcc_** provide dynamic occupancy model distributions that can be used directly from R or in nimble models.
dCJS

Cormack-Jolly-Seber distribution for use in nimble models
dBetaBinom

A beta binomial distribution and beta function for use in nimble models
dDHMM

Dynamic Hidden Markov Model distribution for use in nimble models
dHMM

Hidden Markov Model distribution for use in nimble models
dNmixture

N-mixture distribution for use in nimble models
nimNmixPois_logFac

Helper function for fast N-mixture calculation
dOcc

Occupancy distribution suitable for use in nimble models