| surv_report | R Documentation |
Produces a summary of the current surveillance design's strengths, weaknesses, and recommendations.
surv_report(design, target_lineage = NULL, target_prevalence = 0.01)
design |
A |
target_lineage |
Character or |
target_prevalence |
Numeric. Assumed prevalence for detection calculations. Default 0.01. |
Invisibly returns a named list of computed metrics including n_obs, n_strata, rate_range, gini, effective_n, detection_prob, and mean_bias.
surv_design(), surv_lineage_prevalence(),
surv_detection_probability(), surv_optimize_allocation()
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_report(d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.