Description Usage Arguments Value Author(s) See Also Examples
Function that creates SpatFD objects; objects that hold all the information necessary for univariate or multivariate geostatistical prediction for functional data.
1 2 3 |
data |
Is a matrix, data frame or fdata with the observed data |
coords |
A data frame or a matrix with two columns indicating X and Y coordinates |
basis |
A character specifying the basis functions, “Bsplines” or “Fourier” |
nbasis |
An integer variable specifying the number of basis functions. 4 by default. |
lambda |
A non negative real number specifying the amount of smoothing to be applied to the estimated functional parameter. 0 by default |
nharm |
The number of harmonics or principal components to compute. |
vp |
The percentage of variance to calculate the number of harmonics or principal components to compute. |
name |
Name of variable. |
add |
An object of class SpatFD to be added. |
... |
Arguments to be passed to the basis function creation (see create.bsplines.basis or create.fourier.basis). |
An object of class SpatFD, which inherits from list. Its components are:
SFD |
An object of class SpatFD, where is specified the original data, the functional data and the components of the FPCA |
Angie Villamil, Martha Bohorquez
1 2 3 4 5 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.