rowScale {mbr}R Documentation

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.


[Package mbr version 0.0.1 Index]