rowScale: Scale rows of a Matrix

Description Usage Arguments Value

View source: R/R-utils.R

Description

Similar to colScale

Usage

1
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.


ntthung/mbr documentation built on March 19, 2021, 6:33 a.m.