Skip to contents

If a lengthscale is not provided then the best_average method is used.

Usage

centroid_covariance(sf, kernel = matern, l = NULL, ...)

Arguments

sf

A simple features object with some geometry.

kernel

A kernel function, defaults to matern.

l

A lengthscale.

...

Additional arguments to kernel.

Examples

centroid_covariance(mw)
#> Error in sf::st_centroid(sf): object 'mw' not found