test_bn_fauna: Tests a BN for each species on a shapefile using covariates...

Description Usage Arguments Details

View source: R/test_bn_fauna.R

Description

Tests a BN for each species on a shapefile using covariates from rasters

Usage

1
2
test_bn_fauna(bn_fitted_list, fauna_geom, species_var, geom, covs_paths,
  crs = "lcc_mex")

Arguments

fauna_geom

fauna sf, point geometry indicating where species where observed

species_var

unquoted variable indicating column on fauna data that indicates species

geom

region sf, polygon(s) that determine test area

covs_paths

paths to rasters with covariates to be included in BN

Details

Given a set of points observations of fauna species and a a region specified by a polygon or set of polygons (simple feature) and a fiited Bayesian Network per species it evaluates the likelihood given the covariates given in rasters, for the fauna and the no fauna data.


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