Skip to contents

Compute distances between area centroids.

Usage

centroid_distance(sf)

Arguments

sf

A simple features object with some geometry.

Examples

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