The prevalence package provides Frequentist and Bayesian methods useful in prevalence assessment studies. Several methods are available for estimating True Prevalence (TP) from Apparent Prevalence (AP).
Version 0.4.0 of the prevalence package is available on CRAN. Source code of the development version is on GitHub.
This is how you can install the prevalence package in R:
install.packages("prevalence")
Finally, to attach prevalence to your R session, simply run
library(prevalence)
The truePrev
function is also available as a Shiny app: http://prevalence.cbra.be/shiny/truePrev
packageDescription("prevalence")
#> Package: prevalence
#> Type: Package
#> Title: Tools for Prevalence Assessment Studies
#> Version: 0.4.0
#> Date: 2015-04-20
#> Authors@R: c(person("Brecht", "Devleesschauwer", role = c("aut",
#> "cre"), email = "brechtdv@gmail.com"), person("Paul",
#> "Torgerson", role = "aut"), person("Johannes", "Charlier",
#> role = "aut"), person("Bruno", "Levecke", role = "aut"),
#> person("Nicolas", "Praet", role = "aut"), person("Sophie",
#> "Roelandt", role = "aut"), person("Suzanne", "Smit", role =
#> "aut"), person("Pierre", "Dorny", role = "aut"),
#> person("Dirk", "Berkvens", role = "aut"), person("Niko",
#> "Speybroeck", role = "aut"))
#> Author: Brecht Devleesschauwer [aut, cre], Paul Torgerson [aut],
#> Johannes Charlier [aut], Bruno Levecke [aut], Nicolas Praet
#> [aut], Sophie Roelandt [aut], Suzanne Smit [aut], Pierre
#> Dorny [aut], Dirk Berkvens [aut], Niko Speybroeck [aut]
#> Maintainer: Brecht Devleesschauwer <brechtdv@gmail.com>
#> BugReports: https://github.com/brechtdv/prevalence/issues
#> Description: The prevalence package provides Frequentist and
#> Bayesian methods for prevalence assessment studies.
#> IMPORTANT: the truePrev functions in the prevalence package
#> call on JAGS (Just Another Gibbs Sampler), which therefore
#> has to be available on the user's system. JAGS can be
#> downloaded from http://mcmc-jags.sourceforge.net/.
#> Depends: R (>= 3.0.0), rjags, coda, methods
#> SystemRequirements: JAGS (>= 3.2.0) (see
#> http://mcmc-jags.sourceforge.net)
#> License: GPL (>= 2)
#> URL: http://prevalence.cbra.be/
#> LazyLoad: yes
#> NeedsCompilation: no
#> Packaged: 2015-04-20 14:55:49 UTC; UGent
#> Built: R 3.3.0; ; 2015-04-20 15:00:40 UTC; windows
#>
#> -- File: C:/Users/UGent/Documents/R/win-library/prevalence/Meta/package.rds