demean {Jmisc}R Documentation

Demean a vector or a matrix (by column)

Description

Demean a vector or a matrix (by column)

Usage

demean(x)

Arguments

x

Vector or matrix

Value

Demeaned value of x

Author(s)

TszKin Julian Chan ctszkin@gmail.com

Examples

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

[Package Jmisc version 0.3.1.1 Index]