powered by
This function center the data in the two dimensions, the first dimension being indicated by col.first argument
centering(X,col.first=TRUE)
the double centered matrix
a matrix of size tm x vm which contains the functionnal images
Logical. Center the columns or the rows first
reduction
X <- matrix(rnorm(5 * 4), nrow = 5, ncol = 4) Xcentred <- centering(X, col.first = TRUE)$Xcentred
Run the code above in your browser using DataLab