# NOT RUN {
plot_events(data.frame(
event = 1:2, start = as.POSIXct(c("2019-01-01", "2019-01-10")),
end = as.POSIXct(c("2019-01-01", "2019-01-10")),
group = "", tooltip = "", col = "green", fontcol = "black",
subplot = 1, y = 1:2, labelPos = "center", label = 1:2
),
show_labels = TRUE, background_lines = 11
)
# }
Run the code above in your browser using DataLab