Learn R Programming

fame (version 1.13)

as.data.frame.tis: Coerce to a Data Frame

Description

Coerce a Time Indexed Series to a data frame.

Usage

## S3 method for class 'tis':
as.data.frame(x, \dots)

Arguments

x
a tis series
...
other args passed on to as.data.frame.matrix or as.data.frame.vector

Value

  • a data frame.

Details

The function is very simple: it calls as.data.frame.matrix if x is a matrix, or as.data.frame.vector if it is not.

See Also

data.frame