plot_variants: Plot variant share

Description Usage Arguments Details Value See Also Examples

View source: R/variants.R

Description

A function that plots variant data over time.

Usage

1
plot_variants(interpolation = "linear", type = "cases")

Arguments

interpolation

Specifies whether the voc data should be interpolated. Possible options include "linear" or "none". Linear does a linear spline interpolation. None is the default.

type

String, specifies which value for the variants should be plotted and how it should be displayed

Details

The function can ether plot the case time series of different vocs, or the sti time series of different vocs.

Value

Returns a ggplot2 plot.

See Also

Other Variants: plot_variant_data(), variant_case_r_value(), variant_case_time_series(), variant_sti_time_series()

Examples

1
2
3
plot_variants()
plot_variants(interpolation="linear", type="sti")
## Not run: plot_variants(interpolation=T)

slausmeister/revolution documentation built on Dec. 23, 2021, 3:24 a.m.