norm: norm

Description Usage Arguments Value

View source: R/norm.R

Description

This function is used to normalize a vector to have unit length

Usage

1
norm(x)

Arguments

x

a numeric vector

Value

a normalized vector with length 1


wangpeinihao/RRMLRfMC documentation built on June 19, 2021, 12:25 a.m.