Description Usage Arguments Value Examples
The function plots a point vector map.
1 2 | mapVectorSimple(vector, attr = 1, colors = "default", gnbr = 5,
glns = FALSE)
|
vector |
a spatial point data frame |
attr |
column number of the attribute to be visualized |
colors |
a color palette for the vector layer |
gnbr |
number of map grid lines (horizontal = vertical) |
glns |
draw grid lines (TRUE) or just tics (FALSE) |
map-type lattice plot object
1 2 3 4 5 6 7 8 | library(raster)
library(sp)
data(meuse)
coordinates(meuse) = ~x+y
vec <- meuse[5]
mapVectorSimple(vec, attr = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.