dist_between_vertices {cartogramR}R 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)

[Package cartogramR version 1.0-7 Index]