irss_gantt: Generate Gantt Chart

View source: R/irss_gantt.R

irss_ganttR Documentation

Generate Gantt Chart

Description

Generate Gantt Chart

Usage

irss_gantt(
  gantt_df,
  palette = ggplot2::scale_colour_discrete(),
  transparent = FALSE,
  ...
)

Arguments

gantt_df

A dataframe useable by ggplot; see gantt_example for format

palette

a color palette function to be used to colour the plot

transparent

makes the background transparent, need to save it to properly visualize

...

ggplot theme options

Examples

# change palette
irss_gantt(gantt_df = gantt_example, palette = scico::scale_colour_scico_d(palette = "batlow"))

# make background transparent
irss_gantt(gantt_df = gantt_example, transparent = TRUE)



tgoodbody/iRss documentation built on March 20, 2022, 8:27 p.m.