mean.fsd.fd: Compute the mean of spatial functional data

Description Usage Arguments Value See Also Examples

Description

This function is used to calculate the mean on functional data on a spatial grid.

Usage

1
2
## S3 method for class 'fsd.fd'
mean(x, trim = 0, na.rm = FALSE, ..., margins = NULL)

Arguments

x

the functional spatial data.

trim

currently unused

na.rm

whether or not missing values should be ignored.

...

currently unused

margins

the margins that should not be averaged over.

Value

the mean of x

See Also

center.fsd.fd

Examples

1
2
3
4
5
6
data("temp")

# the mean temperature curve
plot(mean(temp))
# slight variations with respect to the location can be seen
plot(mean(temp, margins = 1:2))

kuenzer/fsd documentation built on July 21, 2020, 1:57 p.m.