.normalise {MASSExtra} | R Documentation |
Normalise a vector
Description
Similar to base::scale() but returning a vector with class attribute. Used for safe prediction
Usage
.normalise(x, location, scale)
Arguments
x |
A numeric vector |
location |
A numeric vector of length 1 |
scale |
A numeric vector of length 1, usually positive |
Value
A normalised vector inheriting from class "normalise"
[Package MASSExtra version 1.2.2 Index]