fortify | R Documentation |
Convert an arbitrary object to a data.frame
-like object.
ffortify(
x,
matchFortify = TRUE,
simple = FALSE,
maxNumPolygons = getOption("quickPlot.maxNumPolygons", 3000),
verbose = getOption("quickPlot.verbose")
)
This only deals with SpatialPolygons
objects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.