View source: R/funts_methods.R
eval.funts | R Documentation |
This function allows you to evaluate a Functional Time Series (funts) object on a specified grid of argument values. The result is a list of matrices, each matrix corresponding to one dimension of the functional data.
eval.funts(argvals, obj)
argvals |
a list or numeric vector specifying the grid points at which to evaluate the functional time series. For multivariate functional data, provide a list of grids corresponding to each dimension. |
obj |
an object of class |
The argvals
argument can be a list of grids for multivariate functional data.
The function handles both functional basis and empirical basis cases for evaluation.
For empirical basis with irregular grids, a warning is issued as this feature
is under development.
A list of matrices, where each matrix represents the evaluated values of the functional data on the specified grid.
funts
data("Montana")
y <- Montana
u <- seq(0, 23, len = 4)
v <- seq(1, 33, len = 3)
grid <- list(u, list(v, v))
eval.funts(grid, y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.