Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 686 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 686 Bytes

ptb

The ptb R package is a work in progress to implement functions, under a Bayesian framework, for prevalence estimation, diagnostic test evaluation and prior elicitation. The ptb runs with JAGS (http://sourceforge.net/projects/mcmc-jags/) as backend. The functions implemented so far are generalizations of code presented by professor Ian Garner in a course he offered in São Paulo, Brazil. As ptb functions return R objects, other nice packages can be used for model diagnostics.

Installation

After installing JAGS, use the following commands:

library(devtools)
install_github('leb-fmvz-usp/ptb')