ScaleWeight {MadanTextNetwork}R Documentation

Scale a Numeric Vector

Description

This function scales a numeric vector by a specified lambda value.

Usage

ScaleWeight(x, lambda)

Arguments

x

A numeric vector.

lambda

A numeric scaling factor.

Value

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.

Examples

scaled_vector <- ScaleWeight(1:10, 2)

[Package MadanTextNetwork version 0.1.0 Index]