Description Usage Arguments Details Value Examples
plotdata
returns two plots that display the data needed to estimate the
niche of a species in both geographical and environmental space.
1 | plotdata(back, occ.sp, tolran, sp.col, envnames)
|
back |
numeric matrix that contains the background data for the species. |
occ.sp |
numeric matrix that contains the species occurrence data. |
tolran |
numeric matrix with one row and four columns named: xleft, ybottom, xright, ytop. |
sp.col |
character strign with a color name identifying the species. |
envnames |
character vector with the names of the environmental variables to work with. |
This function produce a visualization of the background points, the occurrence data and the tolerance ranges of the species of interest, in both the geographical and the environmental spaces (displaying only the firs two or three dimensions of the latter).
The first two columns of back
must contain the longitude and latitude
coordinates of all the points in the grid that define the region of interest,
the remaining columns must contain the values (at least two) of the
environmental variables at each location. Similarly, the first two columns of
occu.sp
must contain the geographical coordinates for the occurrence
data, and the remaining columns must contain the environmental combinations.
See the datasets backAM
and Spocc
, they are examples of the
matrices back
and occu.sp
.
tolran
must provide the tolerance limits (lower and upper bounds) for
each environmental variable odd columns contain lower limits even columns
containd the upper limits.
A plot with two panels. The panel on the left will show the data in geographical space and the panel on the right will show the data in environmental space.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.