Learn R Programming

ecospat (version 3.3)

ecospat.plot.niche.dyn: Niche Categories and Species Density

Description

Plot niche categories and species density created by ecospat.grid.clim.dyn.

Usage

ecospat.plot.niche.dyn(z1, z2, quant = 0, title = "", name.axis1 = "Axis 1",
                    name.axis2 = "Axis 2", interest = 1, col.unf =
                    "green", col.exp = "red", col.stab = "blue", colZ1 =
                    "green3", colZ2 = "red3", transparency = 70)

Arguments

z1

A gridclim object for the native distribution.

z2

A gridclim object for the invaded range.

quant

The quantile of the environmental density used to delimit marginal climates.

title

The title of the plot.

name.axis1

A label for the first axis.

name.axis2

A label for the second axis

interest

Choose which density to plot: if interest=1, plot native density, if interest=2, plot invasive density.

col.unf

The color used to depict unfilling area.

col.exp

The color used to depict expansion area.

col.stab

The color used to depict stability area.

colZ1

The color used to delimit the native extent.

colZ2

The color used to delimit the invaded extent.

transparency

A value between 0 and 100 to set the transparency level of the niche categories

Author

Blaise Petitpierre bpetitpierre@gmail.com

Details

Using the default colors, the plot will show the niche stability in blue, niche expansion in red, and niche unfilling in green. The solid contour line indicates the extent of environmental conditions that exists in the native and invaded ranges; the dotted contour line indicates the quantile indicated by the quant argument. The densities of occurrences are displayed using gray shading. This shading shows occurences in the native or invaded range only, as determined by the value of the interest argument.