Calculates risk-based population sensitivity with a single risk factor, using binomial method (assumes a large population), allows for unit sensitivity to vary among risk strata

1 | ```
sep.rb.bin(pstar, rr, ppr, n, se)
``` |

`pstar` |
design prevalence (scalar) |

`rr` |
relative risk values (vector of values corresponding to the number of risk strata) |

`ppr` |
population proportions corresponding to rr values (vector of equal length to rr) |

`n` |
sample size per risk category (vector same length as rr and ppr) |

`se` |
unit sensitivity, can vary among risk strata (fixed value or vector same length as rr, ppr, n) |

list of 3 elements, a scalar of population-level sensitivity a vector of EPI values and a vector of corresponding adjusted risks

1 2 3 4 5 | ```
# examples for sep.rb.bin
sep.rb.bin(0.1, c(5, 3, 1), c(0.1, 0.1, 0.8), c(5, 5, 5), 0.9)
sep.rb.bin(0.1, c(5, 1), c(0.1, 0.9), c(10, 5), c(0.95, 0.9))
sep.rb.bin(0.1, c(5, 1), c(0.1, 0.9), c(10, 5), c(0.9, 0.9))
sep.rb.bin(0.01, c(5, 1), c(0.1, 0.9), c(90, 50), c(0.9, 0.9))
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.