Skip to content

polygons function not found problem #7

@seancarmody

Description

@seancarmody
ste <- get_mapaus("STE")
mapfill(ste@data, map=ste, fill="long", id="STATE_CODE")
#Error in fortify.SpatialPolygonsDataFrame(map, region = id) : 
#  could not find function "polygons"

Calling library(sp) first removes the error.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions