Learn R Programming

timetools (version 1.1-2)

RegularTimeInstantDataFrame: Create a regular TimeInstantDataFrame from scratch

Description

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

Usage

RegularTimeInstantDataFrame(from, to, by,
    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.
to
POSIXct or character representing a time with a valid format (see POSIXct). It represents the end of the object. If missing, its value is deduced from from, b
by
a POSIXctp object indicating the increment to use between instants of the object.
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?TimeInstantDataFrame

See Also

TimeIntervalDataFrame, TimeInstantDataFrame, timetools