View source: R/dropFromSpeciesRaster.R
| dropFromSpeciesRaster | R Documentation |
Removes particular species from a speciesRaster object.
dropFromSpeciesRaster(x, sp)
x |
object of class |
sp |
a character vector of species names to be dropped. |
If species in sp are not in x, they will be ignored.
new speciesRaster object.
Pascal Title
tamiasSpRas
newSpRas <- dropFromSpeciesRaster(tamiasSpRas, sp = c('Tamias_alpinus', 'Tamias_bulleri'))
setdiff(tamiasSpRas[['geogSpecies']], newSpRas[['geogSpecies']])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.