Learn R Programming

mbr (version 0.0.1)

rowScale: Scale rows of a Matrix

Description

Similar to colScale

Usage

rowScale(x, add_attr = TRUE)

Arguments

x

A matrix.

add_attr

If TRUE, the column means and standard deviations are returned as attributes. This is consistent with base::scale().

Value

The scaled matrix.