Learn R Programming

letsR (version 5.0)

plot.PresenceAbsence: 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 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

Bruno Vilela

See Also

lets.presab

lets.presab.birds

Examples

Run this code
if (FALSE) {
data(PAM)
plot(PAM)
plot(PAM, xlab = "Longitude", ylab = "Latitude",
     main = "Phyllomedusa species richness")
plot(PAM, name = "Phyllomedusa atelopoides")
plot(PAM, name = "Phyllomedusa azurea")
}

Run the code above in your browser using DataLab