standardise: Function to standardise all variables in a data frame.

standardiseR Documentation

Function to standardise all variables in a data frame.

Description

standardise will transform all numeric variables so they have a mean of 0 and a standard deviation of 1. This is also known as the z-score.

Usage

standardise(df)

Arguments

df

Data frame containing numeric variables.

Author(s)

and Stuart K. Grange

See Also

scale

Examples

## Not run: 
data_standardise <- standardise(data_csv)


## End(Not run)


skgrange/threadr documentation built on May 11, 2024, 12:16 p.m.