vec.scale: Scale a vector

View source: R/skUtils.R

vec.scaleR Documentation

Scale a vector

Description

Like scale() but returns a vector and is faster.

Usage

vec.scale(x)

Arguments

x

Numeric vector to standardize.

Value

Scaled numeric vector with mean of 0 and standard deviation of 1.

Author(s)

Sercan Kahveci

Examples

vec.scale(1:10)


Spiritspeak/skMisc documentation built on April 12, 2025, 5:40 a.m.