plot.funts: Plot Functional Time Series (funts) Data

View source: R/funts_methods.R

plot.funtsR Documentation

Plot Functional Time Series (funts) Data

Description

Create visualizations of Functional Time Series (funts) data, supporting both one-dimensional and two-dimensional domains.

Usage

## S3 method for class 'funts'
plot(
  x,
  npts = 100,
  obs = 1,
  xlab = NULL,
  ylab = NULL,
  main = NULL,
  type = "l",
  lty = 1,
  ...
)

Arguments

x

An object of class funts.

npts

Number of grid points for the plots.

obs

Observation number (for two-dimensional domains).

xlab

X-axis label.

ylab

Y-axis label.

main

Main title for the plot.

type

Type of plot ("l" for line, "p" for points, etc.).

lty

Line type (1 for solid, 2 for dashed, etc.).

...

Additional graphical parameters passed to plotting functions.

Details

This function enables the creation of visualizations for Functional Time Series (funts) data. It supports both one-dimensional and two-dimensional domains.

For one-dimensional domains, line plots are used, while for two-dimensional domains, image plots are employed.

See Also

funts, Callcenter, Montana

Examples

# Example with one-dimensional domain
data("Callcenter")
plot(Callcenter, lwd = 2, col = "deepskyblue4", main = "Call Center Data")

# Example with two-dimensional domain
data("Montana")
plot(Montana, obs = 2, main = c("Temperature Curves", "NDVI Images,"))


Rfssa documentation built on Oct. 27, 2023, 1:08 a.m.