Learn R Programming

DeducerSpatial (version 0.7)

spatialColoredPoints: plot spatial points with colors

Description

plot spatial points with colors

Usage

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