demoGroupByInterval: Demonstrate hsGroupByInterval

View source: R/hsLibBase.R

demoGroupByIntervalR Documentation

Demonstrate hsGroupByInterval

Description

Creates a plot demonstrating the effect of offset1 and offset2 in function hsGroupByInterval

Usage

demoGroupByInterval(
  df = hsExampleTSeries(60),
  step = kwb.datetime::minTimeStep(df[, 1]),
  to_pdf = TRUE
)

Arguments

df

data frame containing data to be used for the demonstration

step

time step in seconds

to_pdf

if TRUE the output goes into a PDF file


KWB-R/kwb.base documentation built on June 19, 2022, 3:30 a.m.