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 20, 2017, 4:02 a.m.

Search within the Jmisc package
Search all R packages, documentation and source code