Convert an object to a data.frame
.
# S3 method for TimeInstantDataFrame
as.data.frame(x, row.names=NULL, optional=FALSE,
include.dates=FALSE, ...)
# S3 method for TimeIntervalDataFrame
as.data.frame(x, row.names=NULL, optional=FALSE,
include.dates=FALSE, ...)
# S3 method for SubtimeDataFrame
as.data.frame(x, row.names=NULL, optional=FALSE,
include.dates=FALSE, ...)
TimeIntervalDataFrame, TimeInstantDataFrame or SubtimeDataFrame
‘NULL’ or a character vector giving the row names for the data frame. Missing values are not allowed.
logical. If ‘TRUE’, setting row names and converting column names (to syntactic names: see ‘make.names’) is optional.
should time properties be included in the data.frame as a column ? (or 2 columns for TimeIntervalDataFrame)
additional arguments to be passed to or from methods.