Learn R Programming

otsfeatures (version 1.0.0)

ots_plot: Constructs an ordinal time series plot

Description

ots_plot constructs an ordinal time series plot

Usage

ots_plot(series, states, title = "Time series plot", labels = NULL)

Value

The ordinal time series plot.

Arguments

series

An OTS.

states

A numerical vector containing the corresponding states.

title

The title of the graph.

labels

The labels of the graph.

Author

Ángel López-Oriona, José A. Vilar

Details

Constructs an ordinal time series plot for a given OTS.

References

weiss2018introductionotsfeatures

Examples

Run this code
ordinal_time_series_plot <- ots_plot(series = AustrianWages$data[[100]],,
states = 0 : 5) # Constructs an ordinal
# time series plot for one series in
# dataset AustrianWages

Run the code above in your browser using DataLab