Skip to contents

Plot Heat Map

Usage

HeatMap(
  xy,
  weights = rep(1, nrow(xy)),
  xrange = c(0, 35),
  yrange = c(0, 15),
  gridsep = 5,
  title = "Heat Map of Location"
)

Arguments

xy

Data Frame to use

xrange

Limits of the x-variable

yrange

Limits of the y-variable

gridsep

Separation of dotted lines

Value

a ggplot2 object

Examples

HeatMap(Site29[,2:3], weights=Site29$NUMPimelea,xrange=c(11,25), yrange=c(0,11), gridsep=5, title="Heat Map of Site 29")
#> Error in aes(x, y): could not find function "aes"