Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

dot-normalise

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"


MASSExtra

Some 'MASS' Enhancements

v1.1.2
GPL-2 | GPL-3
Authors
Bill Venables
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.