-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME.Rmd
33 lines (26 loc) · 1.58 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
---
title: Helper functions for the rbi package
output: github_document
---
<!-- badges: start -->

[](https://github.com/sbfnk/rbi/actions/workflows/R-CMD-check.yaml)
[](https://codecov.io/github/sbfnk/rbi.helpers)

[](https://www.gnu.org/licenses/gpl-3.0)
[](https://CRAN.R-project.org/package=rbi.helpers)
<!-- badges: end -->
[rbi.helpers](https://github.com/sbfnk/rbi.helpers) is collection of helper functions to use with [rbi](https://github.com/sbfnk/rbi), an R interface to [LibBi](https://github.com/lawmurray/LibBi), a library for Bayesian Inference.
It contains:
- `adapt_proposal`, to adapt the proposal distribution of a model according to the empirical standard deviations of accepted parameters
- `adapt_particles`, to adapt the number of particles at a given point in parameter space.
- `DIC`, to compute the DIC of a pMCMC run
- `acceptance_rate`, to calculate the acceptance rate of a pMCMC run
Installation
=============
The easiest way to install `rbi.helpers` is to use the `remotes` package:
```{r eval = FALSE}
# install.packages("remotes")
remotes::install_github("sbfnk/rbi.helpers")
```