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

Normalize

Normalize and Norm


Description

Norm returns the euclidian norm of a vector, Normalize returns a vector with unit norm.

Usage

Normalize(x)

Norm(x)

Arguments

x

Numeric vector

Value

Normalized vector or inpout vector norm.

Author(s)

Diogo Melo, Guilherme Garcia

Examples

x <- rnorm(10)
n.x <- Normalize(x)
Norm(x)
Norm(n.x)

evolqg

Tools for Evolutionary Quantitative Genetics

v0.2-8
MIT + file LICENSE
Authors
Ana Paula Assis, Diogo Melo, Edgar Zanella, Fabio Andrade Machado, Guilherme Garcia
Initial release
2020-11-14

We don't support your browser anymore

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