Learn R Programming

tis (version 1.39)

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

Description

Coerce a Time Indexed Series to a data frame.

Usage

# S3 method for tis
as.data.frame(x, …)

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