Description Usage Arguments Value See Also Examples
View source: R/cat_barplot_double_count.R
This plot is a special barplot. The input data frame is created by dog_double_count.
1 | cat_barplot_double_count(df, date_col, categorie_col)
|
df |
A data frame with at least two columns. |
date_col |
A date column. |
categorie_col |
A column with a categorie. |
A ggplot2 object. This means we can add other components to the plot with "+".
Other Special barplot: dog_double_count
1 2 3 | test <- nycflights13::flights %>%
dplyr::mutate(date = lubridate::as_date(paste(year, month, day, sep="-")))
cat_barplot_double_count(df = test, date_col = date, categorie_col = carrier)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.