View source: R/madantextnetwork.r
ScaleWeight | 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.