Description Usage Arguments Examples
This function will generate the maps and spatial content used in Diatech
1 | generateMaps(set, bounds)
|
set |
list containing the data to create the polygons, see examples. |
bounds |
Boundary matrix, see examples. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | data(polydata)
## bourciez bounded
set <- polydata$bourciez$bourciez
names(set) <- c('id', 'x', 'y')
bounds <- polydata$bourciez$bourciezBounds
bourciezMap <- generateMaps(set, bounds)
## dialeb Bounded
set <- polydata$dialeb$dialeb
names(set) <- c('id', 'x', 'y')
bounds <- polydata$dialeb$dialebBounds
bounds <- polydata$dialeb$dialebBounds[c(3, 2, 1, 4, 5, 6, 7, 8)]
dialebMap <- generateMaps(set, bounds)
## bourciez non bounded
set <- polydata$bourciez$bourciez
names(set) <- c('id', 'x', 'y')
bourciezMap <- generateMaps(set)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.