demean: Demean a vector or a matrix (by column)

Description Usage Arguments Value Author(s) Examples

View source: R/demean.r

Description

Demean a vector or a matrix (by column)

Usage

1
demean(x)

Arguments

x

Vector or matrix

Value

Demeaned value of x

Author(s)

TszKin Julian Chan ctszkin@gmail.com

Examples

1
2
x<-matrix(1:20,ncol=2)
demean(x)

Jmisc documentation built on May 30, 2017, 6:21 a.m.

Related to demean in Jmisc...