ScaleWeight {MadanTextNetwork} | R Documentation |
This function scales a numeric vector by a specified lambda value.
ScaleWeight(x, lambda)
x |
A numeric vector. |
lambda |
A numeric scaling factor. |
A numeric vector where each element of the input vector 'x' is divided by the scaling factor 'lambda'. This results in a scaled version of the input vector.
scaled_vector <- ScaleWeight(1:10, 2)