Description Usage Arguments Value
A function that transforms a data with lag values to a format where multiplication with eigenvectors of temporal covariance is possible. Then multiplicates with the eigenvectors matrix and returns the dimension-reduced data.
1 | temporal_PCA(data, lags, features, ev, n)
|
data |
data with lag values. Columnnames must be of format (featurename)_(lag) (e.g. ne_lag3, nw_lead1, se) |
lags |
list of lags to be used. Same as create_lagged() argument |
features |
list of feature names without lag/lead additions |
ev |
the temporal eigenvector matrix |
n |
represents how many Principal Components to be returned |
Time dimension reduced data. (e.g. ne_Time1, sw_Time2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.