plot spatial points with colors
1 2 | spatialColoredPoints(x, color_var, pch=1, palette , legend.loc="bottomleft",
legend.title,...)
|
x |
a SpatialPointsDataFrame |
color_var |
the name of the variable in x, or a vector |
pch |
plotting symbol |
palette |
A color scale (See the scales package) |
legend.loc |
the location of the legend |
legend.title |
title |
... |
additional parameters for plot |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.