Learn R Programming

rbi.helpers (version 0.4.0)

'rbi' Helper Functions

Description

Contains a collection of helper functions to use with 'rbi', the R interface to 'LibBi', described in Murray et al. (2015) . It contains functions to adapt the proposal distribution and number of particles in particle Markov-Chain Monte Carlo, as well as calculating the Deviance Information Criterion (DIC) and converting between times in 'LibBi' results and R time/dates.

Copy Link

Version

Install

install.packages('rbi.helpers')

Monthly Downloads

265

Version

0.4.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

August 24th, 2023

Functions in rbi.helpers (0.4.0)

split_unit

Split a unit string
time_to_numeric

Convert actual times or dates to numeric times
get_mvn_params

Construct a covariance matrix
numeric_to_time

Convert numeric times to actual times or dates
DIC

Compute Deviance Information Criterion (DIC) for a libbi model
adapt_particles

Adapt the number of particles
acceptance_rate

Compute acceptance rate
adapt_proposal

Adapt the proposal distribution of MCMC using the covariance of samples
update_proposal

Construct a proposal from run results