compute_ei: Computes de Ecosystem Integrity Index for given a Bayesian...

Description Usage Arguments Details

View source: R/compute_ei.R

Description

Computes de Ecosystem Integrity Index for given a Bayesian Network

Usage

1
2
compute_ei(net, ei_node = "zz_delt_vp", geom, vars_paths, ei_levels,
  map = FALSE, crs = "lcc_mex")

Arguments

net

list with bayesian network structure and fit, as returned by fit_bn

geom

region sf, polygon(s) that determine analysis area

vars_paths

paths to rasters with covariates to be included in BN

map

logical value indicating if the MAP (maximum a posteriori) class should be returned

crs

string specifying projection (proj4string) passed to sf::st_transform, defaults to lcc (Mex)

ie_node

character denoting the node corresponding to IE

ie_levels

if IE is interval, character string determining the IE levels

Details

Given a Bayesian Network and observed evidence (the path to a set of rasters and a region specified by a polygon or set of polygons (simple feature) it computes the distribution of the Ecological Itegirtiy node.


tereom/bnecology documentation built on Nov. 27, 2019, 2:15 p.m.