centering | R Documentation |
This function center the data in the two dimensions, the first dimension being indicated by col.first argument
centering(X,col.first=TRUE)
X |
a matrix of size tm x vm which contains the functionnal images |
col.first |
Logical. Center the columns or the rows first |
Xcentred |
the double centered matrix |
reduction
X <- matrix(rnorm(5 * 4), nrow = 5, ncol = 4)
Xcentred <- centering(X, col.first = TRUE)$Xcentred
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.