Convert an object to a data.frame

Description

Convert an object to a data.frame.

Usage

1
2
3
4
5
6
7
8
9
  ## S3 method for class 'TimeInstantDataFrame'
as.data.frame(x, row.names=NULL, optional=FALSE,
  	include.dates=FALSE, ...)
  ## S3 method for class 'TimeIntervalDataFrame'
as.data.frame(x, row.names=NULL, optional=FALSE,
  	include.dates=FALSE, ...)
  ## S3 method for class 'SubtimeDataFrame'
as.data.frame(x, row.names=NULL, optional=FALSE,
  	include.dates=FALSE, ...)

Arguments

x

TimeIntervalDataFrame, TimeInstantDataFrame or SubtimeDataFrame

row.names

‘NULL’ or a character vector giving the row names for the data frame. Missing values are not allowed.

optional

logical. If ‘TRUE’, setting row names and converting column names (to syntactic names: see ‘make.names’) is optional.

include.dates

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.

Value

a data.frame

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.