plotOrnithoRaster: Plot Rasterized Distribution Data

Description Usage Arguments Author(s) See Also Examples

View source: R/plotOrnithoRaster.R

Description

Rasterize point distribution data and plot the result as heatmap.

Usage

1
2
plotOrnithoRaster(x, map, model = "maxInd", 
    col, gridcol = "grey25", legend)

Arguments

x

an object of class ornithoSpec.

map

an object of class ornithoMap containing the grid that defines the resolution of the raster.

model

a character string that gives the raster model that will be applied for species with more than rasterize observations; the choices are "sumObs", "sumInd", and "maxInd" (see Details).

col

a nine-level color palette for the frequency classes of the discretized bird count data.

gridcol

a character string giving the color of the grid for plotting; setting gridcol = NA suppresses the plotting of the grid.

legend

logical indicating if a legend of frequency classes should be plotted.

Author(s)

Simon Thorn and Christoph Heibl

See Also

plotOrnithoPoints for plotting the raw vector data; plotOrnithoMap for plotting a base map with topographical features; plotOrnitho for the top-level plotting function.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
data(amsel)
data(hessen_map)
par(mfcol = c(1, 3), mar = c(5, 0, 5, 0))
plotOrnithoRaster(amsel, hessen_map, model = "sumObs",
  legend = FALSE)
title(main = "sumObs", 
    sub = "Sum of observations")
plotOrnithoRaster(amsel, hessen_map, model = "sumInd",
  legend = FALSE)
title(main = "sumInd", 
    sub = "Sum of all counts")
plotOrnithoRaster(amsel, hessen_map,
  legend = FALSE)
title(main = "maxInd", 
    sub = "Highest count of individuals")

heibl/rornitho documentation built on May 17, 2019, 3:22 p.m.