ncells_4_threshold: Extract number of cells required to meet threshold proportion...

View source: R/ncells_4_threshold.R

ncells_4_thresholdR Documentation

Extract number of cells required to meet threshold proportion of risk

Description

Extract number of cells required to meet threshold proportion of risk.

Usage

ncells_4_threshold(
  risk_rasters,
  names,
  proportion_captured = c(0.6, 0.8, 0.9, 0.95)
)

Arguments

risk_rasters

Character. File path(s) to rasters to be loaded.

names

Character. Names corresponding to infiles.

proportion_captured

Numeric vector. Proportion(s) of risk to be captured.

Value

A data.frame containing the number of cells to be trapped to capture given proportion(s) of total risk across multiple input files.


jscamac/edmaps documentation built on June 11, 2022, 1:26 a.m.