nc_cartogram: Calculate Non-Contiguous Cartogram Boundaries

View source: R/cartogram_ncont.R

nc_cartogramR Documentation

Calculate Non-Contiguous Cartogram Boundaries

Description

This function has been renamed: Please use cartogram_ncont() instead of nc_cartogram().

Usage

nc_cartogram(shp, ...)

Arguments

shp

SpatialPolygonDataFrame or an sf object

...

Arguments passed on to cartogram_ncont

weight

Name of the weighting variable in x

k

Factor expansion for the unit with the greater value

inplace

If TRUE, each polygon is modified in its original place, if FALSE multi-polygons are centered on their initial centroid


cartogram documentation built on May 31, 2023, 6:16 p.m.