dot-normalise: Normalise a vector

Description Usage Arguments Value

Description

Similar to base::scale() but returning a vector with class attribute. Used for safe prediction

Usage

1
.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"


MASSExtra documentation built on May 2, 2021, 9:07 a.m.