sp_centroid: Function to find the centroid of a spatial object.

View source: R/sp_centroid.R

sp_centroidR Documentation

Function to find the centroid of a spatial object.

Description

Function to find the centroid of a spatial object.

Usage

sp_centroid(sp, features = TRUE)

Arguments

sp

Spatial object.

features

Should the centroids of all features within sp be calculated? Default is TRUE.

Author(s)

Stuart K. Grange


skgrange/gissr documentation built on Feb. 24, 2024, 2:55 p.m.