timeSeries Transpose

Share:

Description

Returns the transpose of a 'timeSeries' object.

Usage

1
2
## S4 method for signature 'timeSeries'
t(x)

Arguments

x

a 'timeSeries' object.

Value

Returns a matrix object.

Examples

1
2
3
4
5
6
7
## Dummy timeSeries with NAs entries
   data <- matrix(1:24, ncol = 2)
   s <- timeSeries(data, timeCalendar())
   s
   
## Transpose 'timeSeries' -
   t(s)

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