# NOT RUN {
set_subplots(data.frame(
event = 1:4, start = c("2019-01-01", "2019-01-10"),
end = c("2019-01-01", "2019-01-10"), group = ""
), stringsAsFactors = F)
set_subplots(data.frame(
event = 1:4, start = c("2019-01-01", "2019-01-10"),
end = c("2019-01-01", "2019-01-10"), group = 1:2
), stringsAsFactors = F)
set_subplots(data.frame(
event = 1:3, start = c("2019-01-01", "2019-01-10", "2019-01-01"),
end = c("2019-01-10", "2019-01-20", "2019-01-10"),
group = c(1, 2, 1), stringsAsFactors = F
))
# }
Run the code above in your browser using DataLab