expand_year: Expand Vector to Full Year

Description Usage Arguments Details Value

Description

Generates a vector with half-hourly time steps of full year, stamped in the middle of time unit. Adapted from: REddyProc - fExpandToFullYear

Usage

1
expand_year(x, timestamp, year, dts, tz = get_tz(timestamp))

Arguments

x

A data vector to be expanded.

timestamp

The data timestamp in POSIX time format.

year

Year (e.g. to plot).

tz

Time zone used, advised to keep default.

DTS

The number of daily time steps (i.e. 24 or 48).

Details

Function to expand vectors to full year, e.g. to plot in correct time format.

Value

The expanded time and data vector as a data frame.


grahamstewart12/tidyflux documentation built on June 4, 2019, 7:44 a.m.