brk_exposure: Compute exposure for a 'RasterStack' class object from...

Description Usage Arguments Details

View source: R/brk_exposure.R

Description

Compute exposure for a 'RasterStack' class object from package 'raster'

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
brk_exposure(
  RasterStack_dispersal,
  sf,
  key,
  keyTime,
  loss,
  beta,
  nbr_cores,
  quiet,
  unit
)

Arguments

RasterStack_dispersal

RasterStack. An object of classRasterStack (see package raster for details).

sf

sf. And object of class 'sf' on which exposure is computed from the previous list of raster by patch 'RasterStack_dispersal'. See sf for details.

key

name of the column in 'sf' object providing emission amount

keyTime

name o the column of sf for time

loss

numeric. scalar or vector (of the same length as the number the timeline include is argument sf) to apply a loss on exposure cells.

beta

numeric. toxic adherence parameter between 0 and 1 (default = 0.4).

nbr_cores

integer. Set the number of cores to used for parallel computing.

quiet

boolean. Set 'TRUE' to remove progress bar.

unit

default is meter "m". but should be more generic: "any".

Details

Local intensity depends of beta and alpha parameters. Beta represents the toxic adherence between [0,1]. Alpha represents a list of parameters of the lost of toxic particules due to covariates (precipitation). There are two configurations to integrate the loss in the function : (i) simulating covariate (simulate=TRUE) or (ii) uploading covariate (simulate=FALSE). The covariate is linked to the loss by a linear regression with paramaters minalpha, maxalpha, covariate_threshold.


briskaR documentation built on Dec. 11, 2021, 9:23 a.m.