fit_bn: Fits a BN using covariates from rasters

Description Usage Arguments Details

View source: R/fit_bn.R

Description

Fits a BN using covariates from rasters

Usage

1
fit_bn(geom, vars_paths, crs = "lcc_mex", score = "bic")

Arguments

geom

region sf, polygon(s) that determine analysis area

vars_paths

paths to rasters with covariates to be included in BN

crs

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

score

a character string, the label of the network score to be used in hill-climbing algorithm, pased to hc. Defaults to BIC

Details

Given the path to a set of rasters and a region specified by a polygon or set of polygons (simple feature) it adjusts a Bayesian Network.


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