create_hourly_xts: Aggregate data to a hourly time-series

Description Usage Arguments Value

Description

Aggregate data to a hourly time-series

Usage

1
2
create_hourly_xts(data, hours = 1, FUN = sum, start_date = NULL,
  end_date = NULL, ...)

Arguments

data

Input xts object.

hours

Hours seperating two samples.

FUN

Function to aggregate the data with. By default sum is used.

start_date

First Date in the regular series. Calculated from the given series if not given.

end_date

Last Date in the regular series. Calculated from the given series if not given.

...

Other parameters given to FUN

Value

Hourly data time Series


fnoorian/mltsp documentation built on May 16, 2019, 1:48 p.m.