Description Usage Arguments Value Examples
Shift of an observation. The performed operation results as a combination of two main directions: the direction of maximum gradient for the SPE (weighted by the parameter b) and the direction of the projection of the observation on the model (weighted by the parameter a).
1 |
X |
Matrix with observations that will be shifted. |
P |
Loading matrix of the PCA model according to which the shift will be performed. |
a |
A number or vector tuning the shift in the direction of its projection. |
b |
A number or vector tuning the shift in the direction of its residual. |
Matrix with shifted observation as rows, keeping the order of the input matrix
X
.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.