plot spatial points with colors

Share:

Description

plot spatial points with colors

Usage

1
2
spatialColoredPoints(x, color_var, pch=1, palette , legend.loc="bottomleft",
		legend.title,...)

Arguments

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