Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

normalize

Normalization of vectors


Description

Normalization of vectors.

Usage

normalize(v, w = NULL)

Arguments

v

vector

w

optional vector

Details

The vector v is normalized to length 1. If w is given, it is normalized by the length of v.

Value

v

normalized v

w

normalized w

Author(s)

Nicole Kraemer, Mikio L. Braun

Examples

v<-rnorm(5)
w<-rnorm(10)
dummy<-normalize(v,w)

plsdof

Degrees of Freedom and Statistical Inference for Partial Least Squares Regression

v0.3-0
GPL (>= 2)
Authors
Nicole Kraemer, Mikio L. Braun
Initial release
2021-03-13

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.