Learn R Programming

eggCounts (version 2.4)

Hierarchical Modelling of Faecal Egg Counts

Description

An implementation of Bayesian hierarchical models for faecal egg count data to assess anthelmintic efficacy. Bayesian inference is done via MCMC sampling using 'Stan' .

Copy Link

Version

Install

install.packages('eggCounts')

Monthly Downloads

467

Version

2.4

License

GPL (>= 3)

Maintainer

Last Published

October 14th, 2023

Functions in eggCounts (2.4)

simData2s

Simulate faecal egg count data (2-sample situation)
simData1s

Simulate faecal egg count data (1-sample situation)
plotCounts

Plot faecal egg count data
stan2mcmc

Convert a Stanfit object to a MCMC object
fec_stan

Modelling of faecal egg count data (one-sample case)
getPrior_delta

Get prior parameters from Beta distribution
fecr_probs

Compute probability of the reduction parameter relative to a given threshold
getPrior_mu

Get prior parameters from Gamma distribution
eggCounts-package

Hierarchical modelling of faecal egg counts
fecrtCI

Compute standard FECRT according to WAAVP guidelines
fecr_stanSimple

Model the reduction of faecal egg count using a simple Bayesian model
fecr_stanExtra

Model the reduction of faecal egg count using custom models
fecr_stan

Model the reduction of faecal egg count
epgs

Faecal egg count samples (before and after treatment)