Description Usage Arguments Details Value See Also Examples
This function takes the weekly variant of concern data provided by the RKI and approximates the STI time series of the different variants.
1 | variant_sti_time_series(interpolation = "linear", format_long = F)
|
interpolation |
Specifies whether the voc data should be interpolated. Options include "linear" and "none". The default in "none", i.e. no interpolation. |
format_long, |
boolean Specifies whether a long format should be used. A long format pivots the data. The default is F |
It assumes, that the proportions of the variants in the actual cases is the same as the proportion in the sampled viral matter. Since the RKI only provides the variant shares on a weekly bases, the function can interpolate the data, using a linear spline interpolation.
A tibble carrying a "date" column, and a column for each variant STI for that day.
Other Variants:
plot_variant_data()
,
plot_variants()
,
variant_case_r_value()
,
variant_case_time_series()
1 2 3 4 | variant_sti_time_series()
variant_sti_time_series(interpolation="linear")
## Not run: variant_sti_time_series(interpolation=T)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.