Description Usage Arguments Value See Also Examples
This function is used to center spatial functional data.
1  | center.fsd.fd(X, margins = NULL, na.rm = FALSE)
 | 
X | 
 the functional spatial data.  | 
margins | 
 the margins for which the centering should be done separately in every entry, in order to remove a trend.  | 
na.rm | 
 whether or not missing values should be ignored.  | 
the centered data.
1 2 3 4 5 6 7 8 9 10 11 12 13  | data("temp")
# blindly center the data
T.centered = center.fsd.fd(temp)
# there is a clear structure in the empirical means
plot(mean(T.centered, margins = 1:2))
# take the latitude and the longitude as baseline
T.centered2 = center.fsd.fd(temp, margins = 1:2)
# random noise in the empirical means
plot(mean(T.centered2, margins = 1:2))
# this is the baseline
plot(mean(temp, margins = 1:2))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.