normalize.vector: Normalization of a vector

Description Usage Arguments Value Note Author(s) Examples

Description

normalizes a vector to unit length

Usage

1

Arguments

v

vector

Value

normalized vector

Note

This is an auxiliary function.

Author(s)

Nicole Kraemer

Examples

1
2
v<-1:5
w<-normalize.vector(v)

Example output

Loading required package: splines
Loading required package: MASS

ppls documentation built on May 1, 2019, 10:53 p.m.