Description Usage Arguments Examples
Write generated maps
1 | writeMaps(map, neighPath, jpegPath, polySvgPath, centSvgPath, honeSvgPath)
|
map |
resulting from generateMaps function. |
neighPath |
path where the binary data for neighbours will be saved. |
jpegPath |
path where the jpeg map will be saved. |
polySvgPath |
path where the svg with the Polygon map will be saved. |
centSvgPath |
path where the svg with the Centroid map will be saved. |
honeSvgPath |
path where the svg witht he Honecomb map will be saved. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | ## Not run: ## Not run:
data(polydata)
## bourciez bounded
set <- polydata$bourciez$bourciez
bounds <- polydata$bourciez$bourciezBounds
names(set) <- c('id', 'x', 'y')
map <- generateMaps(set, bounds)
writeMaps(map, 'nb.rda', 'map.jpeg', 'polygon.svg', 'cetroid.svg', 'honeycomb.svg')
## dialeb Bounded
set <- polydata$dialeb$dialeb
names(set) <- c('id', 'x', 'y')
bounds <- polydata$dialeb$dialebBounds
map <- generateMaps(set, bounds)
writeMaps(map, 'nb.rda', 'map.jpeg', 'polygon.svg', 'cetroid.svg', 'honeycomb.svg')
## End(**Not run**)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.