-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
93 lines (62 loc) · 2.86 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/",
out.width = "100%"
)
```
popbayes <img src="man/figures/logo.png" height="120px" align="right" style="float:right; height:120px;"/>
=========================================================
<!-- badges: start -->
[![CRAN status](https://www.r-pkg.org/badges/version/popbayes)](https://CRAN.R-project.org/package=popbayes/)
[![R CMD Check](https://github.com/frbcesab/popbayes/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/frbcesab/popbayes/actions/workflows/R-CMD-check.yaml)
[![Website deployment](https://github.com/frbcesab/popbayes/actions/workflows/pkgdown.yaml/badge.svg)](https://github.com/frbcesab/popbayes/actions/workflows/pkgdown.yaml)
[![License: GPL (>= 2)](https://img.shields.io/badge/License-GPL%20%28%3E%3D%202%29-blue.svg)](https://choosealicense.com/licenses/gpl-2.0/)
<!-- badges: end -->
The goal of the R package `popbayes` is to infer trends of one or several
populations over time from series of counts. It does so by accounting for count
precision (provided or inferred based on expert knowledge, e.g. guesstimates),
smoothing the population rate of increase over time, and accounting for the maximum
demographic potential of species. Inference is carried out in a Bayesian framework.
This work is part of the FRB-CESAB working group
[AfroBioDrivers](https://www.fondationbiodiversite.fr/en/the-frb-in-action/programs-and-projects/le-cesab/afrobiodrivers/).
## Installation
**Before using this package, users need to install the freeware
[JAGS](https://mcmc-jags.sourceforge.io/).**
You can install the stable version of the package from the [CRAN](https://cran.r-project.org) with:
```{r eval = FALSE}
install.packages("popbayes")
```
Alternatively you can install the development version from [GitHub](https://github.com/) with:
```{r eval = FALSE}
# install.packages("remotes")
remotes::install_github("frbcesab/popbayes", build_vignettes = TRUE)
```
## Overview
![](vignettes/docs/popbayes-diagram.png)
## Get started
Please read the
[Get started](https://frbcesab.github.io/popbayes/articles/popbayes.html)
vignette.
## Citation
Please cite this package as:
> Casajus N. & Pradel R. (2023) popbayes: Bayesian model to estimate population
trends from counts series. R package version 1.2.0. URL: <https://frbcesab.github.io/popbayes/>.
You can also run:
```{r eval = FALSE}
citation("popbayes")
## A BibTeX entry for LaTeX users is:
##
## @Manual{,
## title = {{popbayes}: {B}ayesian model to estimate population trends from counts series,
## author = {{Casajus N.}, and {Pradel R.}},
## year = {2023},
## note = {R package version 1.2.0},
## url = {https://frbcesab.github.io/popbayes/},
## }
```