colcenter: Center a matrix column-wise

Description Usage Arguments Value

View source: R/colcenter.R

Description

Center a matrix column-wise

Usage

1
colcenter(m, by = "mean")

Arguments

m

a matrix or Matrix

by

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

Value

column-centered matrix


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