base-t: Transpose 'timeSeries' objects

tR Documentation

Transpose 'timeSeries' objects

Description

Returns the transpose of a "timeSeries" object.

Usage

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

Arguments

x

a 'timeSeries' object.

Value

a matrix

Examples

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

timeSeries documentation built on Sept. 30, 2024, 9:15 a.m.