View source: R/08-diagnostics.R
| surv_design_effect | R Documentation |
Compute design effect over time
surv_design_effect(weighted, naive)
weighted |
A |
naive |
A |
A tibble with time, deff, and bias_correction columns.
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)
w <- surv_lineage_prevalence(d, "BA.2.86")
n <- surv_naive_prevalence(d, "BA.2.86")
surv_design_effect(w, n)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.