vector.normalise: Normalise a vector

View source: R/auxiliary.R

vector.normaliseR Documentation

Normalise a vector

Description

Normalise a vector

Usage

vector.normalise(v, q = 2, na.rm = FALSE)

Arguments

v

a vector of real numbers

q

a nonnegative real number or Inf

na.rm

boolean, whether to remove NA before calculation

Value

normalised version of this vector


InspectChangepoint documentation built on May 3, 2022, 9:07 a.m.