vector.normalise {InspectChangepoint}R 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


[Package InspectChangepoint version 1.2 Index]