Xres

Xres is the residual matrix from the decomposition of matrix X into principal components TP'.

The decomposition can be written:

X = TP' + E = t1p1' + t2p2' + ... + tnpn' + E

Here, Xres equals matrix E.