Creates a plot demonstrating the effect of offset1 and offset2 in function hsGroupByInterval
demoGroupByInterval(df = hsExampleTSeries(60), step = kwb.datetime::minTimeStep(df[, 1]), to_pdf = TRUE)
df | data frame containing data to be used for the demonstration |
---|---|
step | time step in seconds |
to_pdf | if |