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)
a matrix of size tm x vm which contains the functionnal images
Logical. Center the columns or the rows first
the double centered matrix
reduction
# NOT RUN { # TODO!! # Xcentred <- centering(X.masked,col.first=TRUE)$Xcentred # }
Run the code above in your browser using DataLab