Usage
PlotShape(sp, varname, type = "oneway", ncol = 10,
at = NULL, palette = NULL, main = NULL,
colorkey = TRUE, lwd = 0.4, border.col = "black",
col.regions = NULL, min.color = "white",
max.color = "red", plot = TRUE)
Arguments
varname
Variable name from the shape object sp to
be visualized
type
String. Specifies visualization type.
Options: "oneway", "twoway", "qualitative", "custom". See
details.
ncol
Number of distinct colors shades
at
Color transition points
palette
Optional. Color palette.
main
Optional. Title text.
colorkey
Logical. Show color interpretation in a
separate legend.
lwd
Optional. Line width for shape polygon
borders.
border.col
Optional. Color for shape polygon
borders.
col.regions
Optional. Specify color for the shape
object regions manually.
min.color
Color for minimum values in the color
scale
max.color
Color for maximum values in the color
scale
plot
Plot the image TRUE/FALSE