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
## S3 method for class 'cartogramR' as.sf(x, ...)
a cartogramR object
arguments passed to or from other methods.
a sf object including all the data (attributes) contained in the original sf object used to construct the cartogram and
original areas of region (
final/deformed areas of region (
target areas of region (
original centers (
final centers (
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.