The map
class allows maps to be treated as
objects, on which methods can be applied to transform
them. It has several sub-classes, and new methods or
sub-classes can be contributed to this package.
sp
:An object of
SpatialPolygonsDataFrame
class, with at least an
ID variable in the data.frame
.
data
:A data.frame
, with the data to
be mapped.
Joel Gombin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.