An R package estimating probability of MRSA carriage and positive predictive value of a diagnostic test
This is a R package which exposes a model for the estimation of the probability of nasal Methicillin-resistant Staphylococcus auraus (MRSA) carriage in hospital admissions and the positive predictive value of a diagnostic test for the same admissions, given the following parameters:
Have a look at mrsapdc.info to see the presented model in action.
Make sure you have R and package devtools installed. Then, type devtools::install_github("joheli/mrsapdc")
to install package ‘mrsapdc’.
After loading the library with the command library(mrsapdc)
, get help on the main function by typing ?mrsa.pdc
.
The model described was used in a publication by Elias et al. (2013).
Elias J, Heuschmann PU, Schmitt C, Eckhardt F, Boehm H, Maier S, Kolb-Mäurer A, Riedmiller H, Müllges W, Weisser C, Wunder C, Frosch M, Vogel U. Prevalence dependent calibration of a predictive model for nasal carriage of methicillin-resistant Staphylococcus aureus. BMC Infect Dis. 2013 Feb 28;13:111.