demo/fts.R

## This demo considers creating a functional time series object

library(rainbow)

par(mfrow = c(1, 2))
fts(x = 15:49, y = Australiafertility$y, xname = "Age", yname = "Fertility rate")
fts(x = 15:49, y = Australiasmoothfertility$y, xname = "Age", yname = "Smoothed fertility rate")

Try the rainbow package in your browser

Any scripts or data that you put into this service are public.

rainbow documentation built on Jan. 29, 2019, 5:09 p.m.