| spp.plot | R Documentation | 
This function plots the distribution of species across the study area.
spp.plot(x, species, ...)
## S3 method for class 'RapData'
spp.plot(
  x,
  species,
  prob.color.palette = "YlGnBu",
  pu.color.palette = c("#4D4D4D", "#00FF00", "#FFFF00", "#FF0000"),
  basemap = "none",
  alpha = ifelse(identical(basemap, "none"), 1, 0.7),
  grayscale = FALSE,
  main = NULL,
  force.reset = FALSE,
  ...
)
## S3 method for class 'RapUnsolved'
spp.plot(
  x,
  species,
  prob.color.palette = "YlGnBu",
  pu.color.palette = c("#4D4D4D", "#00FF00", "#FFFF00", "#FF0000"),
  basemap = "none",
  alpha = ifelse(basemap == "none", 1, 0.7),
  grayscale = FALSE,
  main = NULL,
  force.reset = FALSE,
  ...
)
## S3 method for class 'RapSolved'
spp.plot(
  x,
  species,
  y = 0,
  prob.color.palette = "YlGnBu",
  pu.color.palette = c("#4D4D4D", "#00FF00", "#FFFF00", "#FF0000"),
  basemap = "none",
  alpha = ifelse(basemap == "none", 1, 0.7),
  grayscale = FALSE,
  main = NULL,
  force.reset = FALSE,
  ...
)
| x | 
 | 
| species | 
 | 
| ... | not used. | 
| prob.color.palette | 
 | 
| pu.color.palette | 
 | 
| basemap | 
 | 
| alpha | 
 | 
| grayscale | 
 | 
| main | 
 | 
| force.reset | 
 | 
| y | 
 | 
This function requires the RgoogleMaps package to be installed in order to create display a basemap.
## Not run: 
# load RapSolved objects
data(sim_ru, sim_rs)
# plot first species in sim_ru
spp.plot(sim_ru, species = 1)
# plot "bimodal" species in sim_rs
spp.plot(sim_rs, species = "bimodal")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.