dist_between_vertices: Analyse some of the grid options

View source: R/dist_between_vertices.R

dist_between_verticesR Documentation

Analyse some of the grid options

Description

Analyse some of the grid options

Usage

dist_between_vertices(data)

Arguments

data

a sf object to be used in cartogram.

Value

a 'dbv.cartogramR' object which is a data-table which contains distance between vertices ('dbv') and polygons names ('L1', 'L2', 'L3') inherited from [sf::st_coordinates]

Examples

  data(usa)
  dbv <- dist_between_vertices(data=usa)
  summary(dbv)

cartogramR documentation built on Sept. 11, 2024, 5:48 p.m.