as.sf.cartogramR {cartogramR}R Documentation

Coerce a cartogramR to a sf object

Description

Coerce a cartogramR to a sf object returning the sf object used to construct the cartogram with the cartogram as geometry and some more attributes

Usage

## S3 method for class 'cartogramR'
as.sf(x, ...)

Arguments

x

a cartogramR object

...

arguments passed to or from other methods.

Value

a sf object including all the data (attributes) contained in the original sf object used to construct the cartogram and


[Package cartogramR version 1.0-10 Index]