cat_barplot_double_count: Title

Description Usage Arguments Value See Also Examples

View source: R/cat_barplot_double_count.R

Description

This plot is a special barplot. The input data frame is created by dog_double_count.

Usage

1
cat_barplot_double_count(df, date_col, categorie_col)

Arguments

df

A data frame with at least two columns.

date_col

A date column.

categorie_col

A column with a categorie.

Value

A ggplot2 object. This means we can add other components to the plot with "+".

See Also

Other Special barplot: dog_double_count

Examples

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)

davidbaniadam/rispacs documentation built on Nov. 4, 2019, 9:43 a.m.