Calculates sample size for risk-based sampling for a single risk factor and using binomial method

1 |

`pstar` |
design prevalence (scalar) |

`rr` |
relative risk values (vector, length equal to the number of risk strata) |

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

`spr` |
planned surveillance proportion for each risk group (vector equal length to rr, ppr) |

`se` |
unit sensitivity (fixed or vector same length as rr, ppr, n) |

`sep` |
required population sensitivity (scalar) |

list of 2 elements, a vector of sample sizes for each risk group a scalar of total sample size, a vector of EPI values and a vector of adjusted risks

1 2 3 |

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.