Normalise a vector
Similar to base::scale() but returning a vector with class attribute. Used for safe prediction
.normalise(x, location, scale)
x |
A numeric vector |
location |
A numeric vector of length 1 |
scale |
A numeric vector of length 1, usually positive |
A normalised vector inheriting from class "normalise"
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.