The goal of serosurvey is to provide a centralized R package of Serological Survey Analysis For Prevalence Estimation Under Misclassification
if(!require("devtools")) install.packages("devtools")
devtools::install_github("avallecam/serosurvey")
This is a basic example which shows you how to solve a common problem:
library(serosurvey)
## basic example code
example("serosvy_known_sample_posterior")
example("serosvy_unknown_sample_posterior")
citation("serosurvey")
#>
#> To cite package 'serosurvey' in publications use:
#>
#> Andree Valle Campos (2020). serosurvey: Serological Survey
#> Analysis For Prevalence Estimation Under Misclassification. R
#> package version 0.0.0.9000.
#> https://avallecam.github.io/serosurvey/
#>
#> A BibTeX entry for LaTeX users is
#>
#> @Manual{,
#> title = {serosurvey: Serological Survey Analysis For Prevalence Estimation Under Misclassification},
#> author = {Andree {Valle Campos}},
#> year = {2020},
#> note = {R package version 0.0.0.9000},
#> url = {https://avallecam.github.io/serosurvey/},
#> }