rainbow3D: 3D Rainbow Plot for Functional Time Series
Description
This function creates a 3D rainbow plot of a functional time series (FTS) using the rgl package.
The data is color-coded using a rainbow color scheme, with earlier curves in red and later curves in violet.
A 360-degree interactive view is available through an embedded widget.
Usage
rainbow3D(f_data)
Value
A 3D rainbow plot of the functional time series data.
Arguments
f_data
A \(J \times N\) matrix of functional time series data, where \(J\) is the number of discrete points in the grid and \(N\) is the sample size.