Skip to content

mrc-ide/netdiagnostics

 
 

Repository files navigation

netdiagnostics

The goal of netdiagnostics is to combine multiple test results to form an equivalent single test with respect to sensitivity and specificity.

Installation

You can install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("n8thangreen/netdiagnostics")

Example

This is a basic example which shows you how to solve a common problem:

library(netdiagnostics)
net_sensspec(pos_threshold = 2,
             sens = c(0.1,0.2,0.3,0.4),
             spec = c(0.1,0.2,0.3,0.4))
#> $net_sens
#> [1] 0.2572
#> 
#> $net_spec
#> [1] 0.0428

About

🔬 Net sensitivity and specificity for test combinations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%