Skip to contents

Create Week of Year Stacked Bar Plot

Usage

create_plot_week_of_year(rogue_conditions, date_caption = NULL)

Arguments

rogue_conditions

Data frame with rogue wave conditions

date_caption

Date range caption

Value

plotly object

Examples

if (FALSE) { # \dontrun{
conditions <- data.frame(
  time = as.POSIXct("2024-01-01") + (1:30) * 86400,
  rogue_ratio = runif(30, 2.0, 2.5),
  hmax = runif(30, 8, 15)
)
create_plot_week_of_year(conditions)
} # }