This repository contains R and Stan reproducible code for the article Prevalence of SARS-CoV-2 antibodies in France: results from nationwide serological surveillance, available here: https://doi.org/10.1038/s41467-021-23233-6
A vignette built in the package demonstrates the functions to estimate seroprevalence from a simulated dataset. It can be seen here without installing the package.
From an R session, package can be installed with:
devtools::install_github("slevu/serpico2", build_vignettes=TRUE, force=TRUE)
The package has been developed and tested with R version 3.6.2 on Windows 7 and MacOSX Version 10.13: "High Sierra" operating systems. The package should be compatible with Windows, Mac, and Linux operating systems.
The following packages are needed to execute functions:
install.packages(c("rstan", "StanHeaders", "Rcpp", "reshape2"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.