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

Description Usage Arguments Value Author(s) Examples

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)


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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.