Learn R Programming

timetools (version 1.1-2)

as.TimeInstantDataFrame: Convert an object to a TimeInstantDataFrame

Description

Convert an object to a TimeInstantDataFrame

Usage

as.TimeInstantDataFrame(from, ...)

  ## S3 method for class 'TimeIntervalDataFrame':
as.TimeInstantDataFrame(from,
    cursor = NULL, ...)

Arguments

from
object to convert to a TimeInstantDataFrame
...
more args to or from other methods
cursor
For TimeIntervalDataFrame, it indicates where the TimeInstant must be taken. If 0, start of each intervals is taken as instant ; if 1 end of each intervals is taken as instant. Any other value will determine a weigth

Value