[.fts | R Documentation |
An indexing method for functional time series (fts
).
## S3 method for class 'fts' Y[i = "index"]
Y |
An object of class |
i |
The index value. |
An object of class fts
.
fts
## Not run: require(Rfssa) load_github_data("https://github.com/haghbinh/Rfssa/blob/master/data/Callcenter.RData") D <- matrix(sqrt(Callcenter$calls), nrow = 240) u <- seq(0, 1, length.out = 240) # Define domain of functional data d <- 22 # number of basis elements Y <- Rfssa::fts(list(D), list(list(d, "bspline")), list(u)) plot(Y) plot(Y[10:15]) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.