Skip to contents

Convert time period to dates

Usage

# S3 method for time_period
as.Date(x, ...)

# S3 method for time_period
as.POSIXct(x, ...)

Arguments

x

a time_period

...

not used

Value

a vector of dates representing the start of each of the input time_period entries

Functions

  • as.POSIXct(time_period): Convert to a vector of POSIXct