Create a Matrix from a Time Indexed Series

Share:

Description

The function adds a dim attribute of c(length(x), 1) to its argument unless it already has a dim attribute of length 2.

Usage

1
2
## S3 method for class 'tis'
as.matrix(x, ...)

Arguments

x

a tis object

...

ignored

Value

A tis object with a dim attribute of length 2.

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