Learn R Programming

tsbox (version 0.4.1)

relevant_class: Extract Relevant Class

Description

Mainly used internally.

Usage

relevant_class(x)

Value

character, the relevant class of ts-boxable object

Arguments

x

ts-boxable time series, an object of class ts, xts, zoo, zooreg, data.frame, data.table, tbl, tbl_ts, tbl_time, tis, irts or timeSeries.

Examples

Run this code
relevant_class(AirPassengers)
x <- ts_df(AirPassengers)
relevant_class(x)

Run the code above in your browser using DataLab