rtPlotMapVeg: plots a vegetation map (raster)

Description Usage Arguments Value

Description

rtPlotMapVeg plots vegetation map either from a file or a matrix object initially accepts hat-trick format vegetation maps which have character values of : D T O S B G N for 7 categories

Usage

1
2
3
4
5
rtPlotMapVeg(map, title = NULL, colours = c("dark green", "forest green",
  "green1", "light blue", "orange", "pale goldenrod", "white"),
  labels = c("dense forest", "thicket", "open forest", "savannah", "bush",
  "grass", "no go area"), inset = -0.26, pt.cex = 1.7, cex = 0.9,
  bty = "n")

Arguments

map

either a file or an rtsetse matrix [y,x]

title

a title for the plot

colours

to use for the vegetation categories, default value gives similar to hat-trick

labels

text labels for vegetation categories, default value gives similar to hat-trick

inset

for the legend, make it less -ve to move from edge

pt.cex

size of boxes in legend

cex

size of text in legend

bty

whether to have box around legend "o" for yes

Value

a raster object (numeric) of the passed map


AndySouth/rtsetse documentation built on May 5, 2019, 6:02 a.m.