View source: R/funts_methods.R
plot.funts | R Documentation |
Create visualizations of Functional Time Series (funts) data, supporting both one-dimensional and two-dimensional domains.
## S3 method for class 'funts'
plot(
x,
npts = 100,
obs = 1,
xlab = NULL,
ylab = NULL,
main = NULL,
type = "l",
lty = 1,
...
)
x |
An object of class |
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. |
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.
funts
, Callcenter
, Montana
# 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,"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.