l1projection | R Documentation |
Provides the L1-norm projection of points on a subspace, including both scores and reconstructions.
l1projection(X, loadings)
X |
data, in |
loadings |
an orthonormal matrix of loadings vectors |
The scores and reconstructions are calculated by solving a linear program.
'l1projection' returns a list containing the following components:
scores |
the matrix of projected points |
projPoints |
the matrix of projected points in terms of the original coordinates (reconstructions) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.