rowcenter: Center a matrix row-wise

Description Usage Arguments Value

View source: R/rowcenter.R

Description

Center a matrix row-wise

Usage

1
rowcenter(m, by = "mean")

Arguments

m

a matrix or Matrix

by

either "mean", "median" or a numeric vector of length equal to the number of rows of ‘m’. Default: "mean"

Value

row-centered matrix


jlaffy/scrabble documentation built on Nov. 16, 2019, 7:56 a.m.