Learn R Programming

cartogramR (version 1.2-0)

dist_between_vertices: Analyse some of the grid options

Description

Analyse some of the grid options

Usage

dist_between_vertices(data)

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]

Arguments

data

a sf object to be used in cartogram.

Examples

Run this code
  data(usa)
  dbv <- dist_between_vertices(data=usa)
  summary(dbv)

Run the code above in your browser using DataLab