Description Usage Arguments Value Note See Also Examples
Illustrates the species number per polygon, based on and object of the class spgeoOUT
(created by SpGeoCod
).
1 2 | MapRichness(x, areanames = NA, leg = "continuous",
show.occ = F, lin.col = "grey", lwd = 1, ...)
|
x |
an object of the class ”spgeoOUT”. |
areanames |
a character string. If the polygons in the spgeoIN object were derived from a shape file, this column indicates the name of the column used for area names. If the polygons in the spgeoIN object were derived from a text file leave as default (Default = ""). |
leg |
Controls the plot legend and coloring scheme. Must be either “continuous” or “discrete”, (default = continuous). |
show.occ |
logical. Defines if the occurrence points should be added to the plot (default = F). |
lin.col |
character string. Defines the colour of polygon borders (default = “grey”). |
lwd |
numeric. Line width of polygon lines. |
... |
Arguments to be passed to other methods, such as graphical parameters (see |
A plotted map.
See the speciesgeocodeR tutorial for further information and examples.
RichnessGrid
, MapGrid
, RangeRichness
.
1 2 3 4 5 6 | data(lemurs)
data(mdg_poly)
inp <- ReadPoints(lemurs, mdg_poly)
outp <- SpGeoCodH(inp)
MapRichness(outp)
|
Loading required package: maps
NOTE: rgdal::checkCRSArgs: no proj_defs.dat in PROJ.4 shared files
NOTE: rgdal::checkCRSArgs: no proj_defs.dat in PROJ.4 shared files
NOTE: rgdal::checkCRSArgs: no proj_defs.dat in PROJ.4 shared files
NOTE: rgdal::checkCRSArgs: no proj_defs.dat in PROJ.4 shared files
NOTE: rgdal::checkCRSArgs: no proj_defs.dat in PROJ.4 shared files
class : SpatialPolygonsDataFrame
features : 3
extent : 43.19906, 50.50903, -25.64502, -11.85583 (xmin, xmax, ymin, ymax)
coord. ref. : +proj=longlat +datum=WGS84 +ellps=WGS84 +towgs84=0,0,0
variables : 6
names : ECO_NAME, ECO_NAME, ident.add, sp.count, code, ord
min values : Dry Forest, Dry Forest, 1, 8, #FF0000FF, 1
max values : Shrublands, Shrublands, 3, 24, #FFF000FF, 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.