View source: R/08-diagnostics.R
| surv_compare_estimates | R Documentation |
Side-by-side plot showing the impact of design correction.
surv_compare_estimates(weighted, naive, title = NULL)
weighted |
A |
naive |
A |
title |
Character or |
A ggplot2 object.
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_compare_estimates(w, n)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.