Functional Time Series Visualization Tools Using Plotly
## S3 method for class 'fts' plot(x, npts = 100, type = "line", main = NULL, ylab = NULL, xlab = NULL, tlab = NULL, var = NULL, ...)
x |
an object of class |
npts |
number of points to evaluate functional object at |
type |
the type of plot to be displayed where possible types are: |
main |
the main title |
ylab |
the y-axis label |
xlab |
the x-axis label |
tlab |
the time-axis label |
var |
an integer specifying the variable number to plot if |
... |
arguments to be passed to methods, such as graphical parameters. |
for a multivariate example, see the examples in fssa
## Not run: require(fda) require(Rfssa) data(Callcenter) # Read data u=seq(0,1,length.out=240) # Define domain of functional data d=12 # number of basis elements basis=create.bspline.basis(rangeval = c(0,1),nbasis = d) # create basis object smooth.calls=smooth.basis(u, matrix(nrow=240,ncol=365,Callcenter$calls), basis) Y=fts(smooth.calls$fd) # create functional time series plot(Y,type = "heatmap") plot(Y,type = "line",var = 1) plot(Y,type = "3Dsurface",var = 1) plot(Y,type = "3Dline",var = 1) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.