heatmapRichness: heatmapRichness

heatmapRichnessR Documentation

heatmapRichness

Description

Makes a heamap of species richness

Usage

heatmapRichness(
  object,
  byPoint = F,
  color = "dark green",
  plot_title = NA,
  scale = T,
  labels = T,
  output = "total",
  plot = TRUE,
  ...
)

Arguments

object

An NCRNbirds object a list of such objects, or a data.frame like that produced by birdRichness.

byPoint

Defaults to FALSE. If TRUE heatamap will have one line for each point, otherwise will have one line for each park

color

A color that will correspond to the maximum species richness

plot_title

Optional, A title for the plot.

scale

If TRUE will include a scale to the right of the heatmap

labels

IfTRUE will label species richness values on the heatmap.

output

Either "total" (the default) or "list". Only used when object is a list

plot

Logical. Return plot TRUE (default) or data.frame FALSE.

...

Additional arguments passed to birdRichness

Details

This function produces a heatmap of species richness at the park or point level across years. It does this by using the output of the birdRichness function. The data is then passed on to ggplot2 for graphing.


NCRN/NCRNbirds documentation built on Aug. 28, 2023, 12:12 p.m.