rainbow3D {FTSgof}R Documentation

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)

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.

Value

A 3D rainbow plot of the functional time series data.

Examples


data(Spanish_elec) # Daily Spanish electricity price profiles
rainbow3D(Spanish_elec)

data(sp500) # S&P500 index data
rainbow3D(OCIDR(sp500))


[Package FTSgof version 1.0.0 Index]