| normalize.linf | R Documentation |
Scales each row of a numeric matrix by its L-infinity norm (row maximum). Rows whose maximum is zero (or below tolerance) are left unchanged and remain all-zero.
normalize.linf(X, tol = 0, backend = c("auto", "dense", "sparse"))
X |
Numeric matrix (samples x features). |
tol |
Numeric >= 0. Values with row max <= tol are treated as zero rows. Default: 0 (exact zero only). |
backend |
Character. Matrix backend to use: |
Zero rows have undefined L-infinity direction. By convention, they are preserved as all-zero rows and will yield NA labels in downstream dominant-feature or dCST assignment.
Numeric matrix of same dimensions as X, L-infinity normalized.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.