eval.funts {Rfssa} | R Documentation |
Evaluate a Functional Time Series (funts) Object on a Given Grid
Description
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.
Usage
eval.funts(argvals, obj)
Arguments
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 |
Details
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.
Value
A list of matrices, where each matrix represents the evaluated values of the functional data on the specified grid.
See Also
Examples
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)