plot.PresenceAbsence: Plot an object of class PresenceAbsence

View source: R/plot_PresenceAbsence.R

plot.PresenceAbsenceR Documentation

Plot an object of class PresenceAbsence

Description

Plots species richness map from an object of class PresenceAbsence or a particular species' map.

Usage

## S3 method for class 'PresenceAbsence'
plot(x, name = NULL, world = TRUE, col_rich = NULL, col_name = "red", ...)

Arguments

x

An object of class PresenceAbsence.

name

A character specifying a species to be ploted instead of the complete species richness map.

world

If TURE a map of political divisions (countries) is added to the plot.

col_rich

Color function (e.g. rainbow, heat.colors, colorRampPalette) to be used in the richness map.

col_name

The color to use when ploting single species.

...

Other parameters pass to the plot function.

Author(s)

Bruno Vilela

See Also

lets.presab

lets.presab.birds

Examples

## Not run: 
data(PAM)
plot(PAM)
plot(PAM, xlab = "Longitude", ylab = "Latitude",
     main = "Phyllomedusa species richness")
plot(PAM, name = "Phyllomedusa atelopoides")
plot(PAM, name = "Phyllomedusa azurea")

## End(Not run)


letsR documentation built on Nov. 23, 2023, 9:07 a.m.