Learn R Programming

thisplot (version 0.3.1)

standardise: Standardize data by rows

Description

Standardize each row of a data matrix by subtracting the mean and dividing by the standard deviation.

Usage

standardise(data)

Value

The standardized data with the same structure as input.

Arguments

data

A matrix or data frame to standardize.