View source: R/varfreq_obs_freq.R
varfreq_obs_freq | R Documentation |
This function calculates the observed variant prevalence from the coefficient of detection ratio and the actual variant prevalence. This function assumes that variant 1 is the variant of concern. This function is specific to the two-variant system.
varfreq_obs_freq(p_v1, c_ratio)
p_v1 |
actual variant prevalence (proportion) |
c_ratio |
coefficient of detection ratio, calculated as the ratio of the coefficients of variant 1 to variant 2 |
scalar of observed prevalence of variant 1
Shirlee Wohl, Elizabeth C. Lee, Bethany L. DiPrete, and Justin Lessler
Other variant frequency functions:
varfreq_cdf_logistic()
,
varfreq_expected_mbias()
,
varfreq_freq_logistic()
varfreq_obs_freq(p_v1 = 0.1, c_ratio = 1.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.