gantt_plot: Create a Gantt plot using ggplot and plotly

View source: R/server_ggplot.R

gantt_plotR Documentation

Create a Gantt plot using ggplot and plotly

Description

This function creates a Gantt plot with the help of ggplot and plotly.

Usage

gantt_plot(df, x, xend, split_var, title, position_label_y)

Arguments

df

A data frame containing the data to be plotted.

x

A string specifying the column name to be used as the x-axis variable.

xend

A string specifying the column name to be used as the end of the x-axis variable.

split_var

A string specifying the column name to be used as the splitting variable.

title

A string specifying the title of the plot.

position_label_y

A string specifying the position of y-axis labels.

Value

A Gantt plot.


vvshiny documentation built on July 26, 2023, 5:50 p.m.