Skip to contents

Wrapper for lubridate as.interval

Usage

# S4 method for timespan
as.interval(x, start, ...)

Arguments

x

a duration, difftime, period, or numeric object that describes the length of the interval

start

a POSIXt or Date object that describes when the interval begins

...

additional arguments to pass to as.interval

Value

An unaffected partial_timespan