| surv_detection_probability | R Documentation |
Variant detection probability under current design
surv_detection_probability(
design,
true_prevalence,
delay_fit = NULL,
n_periods = 1L,
detection_threshold = 1L
)
design |
A |
true_prevalence |
Numeric in (0,1). |
delay_fit |
Optional |
n_periods |
Integer. Accumulation periods. Default 1. |
detection_threshold |
Integer. Min detections. Default 1. |
A list with overall, cumulative, by_stratum, parameters.
sim <- surv_simulate(n_regions = 3, n_weeks = 10, seed = 1)
d <- surv_design(sim$sequences, ~ region,
sim$population[c("region", "seq_rate")], sim$population)
surv_detection_probability(d, 0.01)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.