Learn R Programming

parttime (version 0.1.2)

as.interval,timespan-method: Wrapper for lubridate as.interval

Description

Wrapper for lubridate as.interval

Usage

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

Value

An unaffected partial_timespan

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