Space-time centering and scaling function
stcenter centers and scales the space-time series
data such that its mean is 0 and its standard error 1.
a matrix or data frame containing the space-time series: row-wise should be the temporal observations, with each column corresponding to a site.
a logical value indicating whether the series should be centered or not (subtracting the mean).
a logical value indicating whether the series should be scaled or not (dividing by the empiric stand deviation).
To be able to apply the three-stage iterative model building procedure method for STARMA models, data must be centered beforehand (since
starma doesn't estimate an intercept coefficient).
The only difference with the R function
scale is that it doesn't center and scale column by column, but globally, since all the observations come from a single process in the case of space time series.
An object of the same class as
data, that is either a
matrix or a
1 2 3 4 5 6 7 8
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.