Learn R Programming

timetools (version 1.1-2)

as.TimeIntervalDataFrame: Convert an object to a TimeIntervalDataFrame

Description

Convert an object to a TimeIntervalDataFrame

Usage

as.TimeIntervalDataFrame(from, ...)

## S3 method for class 'TimeInstantDataFrame': as.TimeIntervalDataFrame(from, period, ...)

Arguments

from
object to convert to a TimeIntervalDataFrame
...
more args to or from other methods
period
POSIXctp object indicating the period to add to when slot of from to determine the end of the new period (the when is used for the start of period)

Value