Learn R Programming

timetools (version 1.1-2)

RegularTimeIntervalDataFrame: Create a regular TimeIntervalDataFrame from scratch

Description

To see all methods related to this class, see TimeIntervalDataFrame-class

Usage

RegularTimeIntervalDataFrame(from, to, by, period,
    timezone = "UTC", data = NULL)

Arguments

from
POSIXct or character representing a time with a valid format (see POSIXct). It represents the start of the object (and of its first interval).
to
POSIXct or character representing a time with a valid format (see POSIXct). It represents the end of the object : the end of the last interval is as near as possible from this date, b
by
a POSIXctp object indicating the increment to use between the start of each interval
period
a POSIXctp object indicating the period of each interval. If missing, it is given the value of by.
data
a data.frame with a number of rows the fit with the number of intervals created by the function. If NULL, the data slot will be a data.frame with zero column.
timezone
character representing a valid timezone (see timezone).

Value

Details

To access to the class documentation, type in the R console :

class?TimeIntervalDataFrame

See Also

TimeInstantDataFrame, TimeIntervalDataFrame, timetools