Description Usage Arguments Value Examples
View source: R/sdmApp_TimesRasters.R
Multiply the probability of occurrence map with the presence/absence map to get a presence map only.
1 | sdmApp_TimesRasters(x, y)
|
x |
Probability of occurrence map, a |
y |
Presence/Absence map, a |
Probability of occurrence map with only presence
1 2 3 4 5 6 | r <- raster::raster(system.file("extdata","AETI.tif",package = "sdmApp"))
r2 <- r > raster::cellStats(r, stat='mean', na.rm=TRUE)
r <- r/raster::maxValue(r)
names(r) <- "propability of occurence"
z<-sdmApp_TimesRasters(r,r2)
sdmApp_RasterPlot(z)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.