sdmApp_TimesRasters: Multiply the probability of occurrence map with the...

Description Usage Arguments Value Examples

View source: R/sdmApp_TimesRasters.R

Description

Multiply the probability of occurrence map with the presence/absence map to get a presence map only.

Usage

1

Arguments

x

Probability of occurrence map, a Raster object

y

Presence/Absence map, a Raster object

Value

Probability of occurrence map with only presence

Examples

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)

sdmApp documentation built on July 7, 2021, 9:06 a.m.