Learn R Programming

Rfssa (version 2.0.0)

plot.fts: Functional Time Series Visualization Tools Using Plotly

Description

This is a plotting method for univariate or multivariate functional time series (fts). This method is designed to help the user visualize fts data using a variety of techniques that use plotly.

Usage

# S3 method for fts
plot(
  x,
  vars = NULL,
  types = NULL,
  subplot = TRUE,
  mains = NULL,
  ylabels = NULL,
  xlabels = NULL,
  tlabels = NULL,
  zlabels = NULL,
  ...
)

Arguments

x

An object of class fts.

vars

A numeric specifying which variables in the fts to plot. The default is to plot all variables in succession. Note as well that variable indices may be repeated.

types

A tuple of strings specifying the types of plots to be displayed where possible types for fts variables observed over a one-dimensional domain are:

  • "line" plot the fts elements in a line plot (default)

  • "heatmap" plot the fts elements in a heat map which can be used for variables observed over one or two-dimensional domains

  • "3Dsurface" plot the fts elements as a surface

  • "3Dline" plot the fts elements in a three-dimensional line plot.

The current plot type supported for fts variables observed over a two-dimensional domain is "heatmap". Also note that the same variable may be plotted several times using many different type options.

subplot

A logical specifying whether or not line plots should be plotted in a subplot or not. The default is TRUE and if any other plot type is provided, the value is switched to FALSE.

mains

A tuple of strings providing the the main titles of each plot.

ylabels

A tuple of strings providing the the y-axis titles of each plot.

xlabels

A tuple of strings providing the the x-axis titles of each plot.

tlabels

A tuple of strings providing the the time-axis titles of each plot.

zlabels

A tuple of strings providing the the z-axis titles of each plot.

...

arguments to be passed to methods, such as graphical parameters.