Description Usage Arguments Details Value See Also Examples
This function performs spectral PCA on functional spatial data on a grid of dimension r.
1 2 3 4 5 6 7 8 9 10 |
X |
the functional spatial data. Either an fd object or an array. |
freq.res |
the resolution for the computation of the spectral density. |
Npc |
the number of principal components to be computed. |
L |
the maximum lag for the filters. An integer or vector of integers. |
q |
a tuning parameter for the estimation of the the spectral density operator. An integer or vector of integers. |
na.ignore |
whether to ignore missing data points in the computation of the scores. |
return.F |
a boolean indicating whether to return the spectral density. |
only.filters |
a boolean indicating whether to compute only the filters, leaving out the scores. |
This function can be used to compute spectral PCA. By setting
q = 0
, it can also be used to perform static PCA.
Setting a higher value for freq.res
increases the runtime
significantly, but yields a more accurate result because of reduced
integration errors.
A list with components
F |
the spectral density. |
tuning.params |
a list of the used tuning parameters |
filters |
the SPC filters. |
scores |
the SPC scores. |
var |
the theoretical fractions of variance explained by each PC. |
X.mean |
the mean of X. |
fsd.spca.inverse
, fsd.spectral.density
1 2 3 4 | ## Not run:
fsd.spca(X)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.