backscale_matrix {mfp2} | R Documentation |
Backscale Columns of a Matrix (Internal)
Description
Multiplies each column of a numeric matrix by a corresponding scalar value from a named vector. Typically used to reverse prior scaling (i.e., backscaling). This is an internal helper function and not intended for direct use by package users.
Usage
backscale_matrix(x, scalex)
Arguments
x |
A numeric matrix with column names, or |
scalex |
A named numeric vector. Each name must match a column name of |
Value
A matrix with backscaled columns, or NULL
if x
is NULL
.
[Package mfp2 version 1.0.1 Index]