powered by
Demean a vector or a matrix (by column)
demean(x)
Vector or matrix
Demeaned value of x
x
# NOT RUN { x<-matrix(1:20,ncol=2) demean(x) # }
Run the code above in your browser using DataLab