funts | R Documentation |
The 'funts' class is designed to encapsulate functional time series objects, including both univariate (FTS) and multivariate (MFTS) forms. It provides a versatile framework for creating and manipulating 'funts' objects, accommodating various basis systems and dimensions.
funts(
X,
basisobj,
argval = NULL,
method = "data",
start = 1,
end = NULL,
vnames = NULL,
dnames = NULL,
tname = NULL
)
X |
A matrix, three-dimensional array, or a list of matrix or array objects. When 'method="data"', it represents the observed curve values at discrete sampling points or argument values. When 'method="coefs"', 'X' specifies the coefficients corresponding to the basis system defined in 'basisobj'. If 'X' is a list, it defines a multivariate FTS, with each element being a matrix or three-dimensional array object. In matrix objects, rows correspond to argument values, and columns correspond to the length of the FTS. In three-dimensional array objects, the first and second dimensions correspond to argument values, and the third dimension to the length of the FTS. |
basisobj |
An object of class 'basisfd', a matrix of empirical basis, or a list of 'basisfd' or empirical basis objects. For empirical basis, rows correspond to basis functions, and columns correspond to grid points. |
argval |
A vector list of length 'p' which is a set of argument values corresponding to the observations in X. Each entry in this list should either be a numeric value or a list of numeric elements, depending on the dimension of the domain the variable is observed over. It can even vary from one variable to another, If it be NULL, the default value for argval are the integers 1 to n, where n is the size of the first dimension in argument X.? |
method |
Determines the type of the 'X' matrix: "coefs" or "data." |
start |
The time of the first observation. It can be a single positive integer or an object of classes 'Date', 'POSIXct', or 'POSIXt', specifying a natural time unit. |
end |
The time of the last observation, specified in the same way as 'start'. |
vnames |
a vector of strings specifies the variable names |
dnames |
list of vector of strings specifies the variable domain names |
tname |
a string specifies the time index name |
An instance of the 'funts' class containing functional time series data.
An instance of the 'funts' class containing functional time series data.
fssa
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.