Skip to contents

This function normalizes the the input vector v by dividing its L2 norm (Euclidean norm).

Usage

normalize_lower(v)

Arguments

v

Numeric vector.

Value

Numeric vector with normalized.

Examples

normalize_lower(1:6)
#> [1] 0.1048285 0.2096570 0.3144855 0.4193139 0.5241424 0.6289709