calculateGATcompactness: Calculate GAT Compactness

View source: R/calculateGATcompactness.R

calculateGATcompactnessR Documentation

Calculate GAT Compactness

Description

This function calculates the compactness ratios for the aggregated areas.

It checks whether the projection of a spatial polygons data frame is in lat/long format. If the check passes, the function assigns an alternate projection. The spatial polygons data frame is then used to calculate compactness ratio. The function returns a vector of ratios.

Usage

calculateGATcompactness(myshp)

Arguments

myshp

A spatial layer.

Examples

calculateGATcompactness(myshp = hftown)


ajstamm/gatpkg documentation built on Nov. 23, 2023, 9:44 a.m.