POSIXct_to_eight: Convert POSIXct to 8-day time interval POSIXct or Y1234D123...

Description Usage Arguments Value

Description

Convert POSIXct to 8-day time interval POSIXct or Y1234D123 character format

Usage

1
2
POSIXct_to_eight(x, day8 = eight_days(), to = c("POSIXct", "Y1234D123",
  "D123", "Y1234W12", "W12")[1])

Arguments

x

POSIXct timestamp

day8

numeric vector of eight daya intervals starts, see eight_days

to

character specification for out put, choose "POSIXct" (the default) or "Y1234D123"

Value

POSIXct timestamp mapped to 8-day intervals where day is 1, 9, 17, ...


BigelowLab/obpgtools documentation built on May 5, 2019, 2:44 p.m.