sp2Mondrian

0th

Percentile

write map data for Mondrian

The function outputs a SpatialPolygonsDataFrame object to be used by Mondrian

Keywords
spatial
Usage
sp2Mondrian(SP, file)
Arguments
SP
a SpatialPolygonsDataFrame object
file
file where output is written
Note

At this release, the function writes out a text file with both data and polygon(s) identified as belonging to each row of data.

References

http://www.theusrus.de/Mondrian/index.html

Aliases
  • sp2Mondrian
Examples
xx <- readShapePoly(system.file("shapes/columbus.shp", package="maptools")[1])
sp2Mondrian(xx, file="columbus1.txt")
xx <- readShapePoly(system.file("shapes/sids.shp", package="maptools")[1]))
sp2Mondrian(xx, file="sids1.txt")
Documentation reproduced from package maptools, version 0.6-15, License: GPL version 2 or later (R and interface code), MIT (shapelib code)

Community examples

Looks like there are no examples yet.