prob_to_PA: Probabilities to Presence/Absence

View source: R/prob_to_PA.R

prob_to_PAR Documentation

Probabilities to Presence/Absence

Description

Converts probability distributions into Presence/Absence

Usage

prob_to_PA(x, th = NULL, output = c("data.frame", "raster"), ras = NULL)

Arguments

x

raster or data frame object

th

selected threshold to convert to P/A

output

type of output objct wanted. data frame or raster object

ras

User can provide a raster object as template to match resolution, grid size and projection

Details

Returns an error if x does not exist.

Value

Data frame or raster


agarciaEE/NINA documentation built on Jan. 9, 2025, 10:09 a.m.