Description Usage Arguments Value See Also Examples
Provide trend facet plot for each case type (e.g. Confirmed and Deaths)
1 2 3 4 5 6 | ggts_trend_facet(
data,
x = .data$Date,
y = .data$Cases,
vars_1 = .data$Case_Type
)
|
data |
A data frame |
x |
Unquoted df data-variable to specify the
time index variable ( |
y |
Unquoted df data-variable of the cases |
vars_1 |
Unquoted df data-variable of the case types |
plot object of mode "plot
"
ggts_cum_daily
1 2 3 4 | # Corona data of "Germany" - plot cumulative cases for 'Confirmed' and
# 'Deaths' and 'Confirmed'
ggts_trend_facet(corona_data %>% dplyr::filter(Country == "Germany"))
ggts_trend_facet(corona_data %>% dplyr::filter(Country == "Germany"), y = Cases_100k)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.