vector.normalise: Normalise a vector
Description
Normalise a vector
Usage
vector.normalise(v, q = 2, na.rm = FALSE)
Arguments
q
a nonnegative real number or Inf
na.rm
boolean, whether to remove NA before calculation
Value
normalised version of this vector