calcTempBetaDivBAMR: TEMPORAL BETA-DIVERSITY PER TETRAPOD FAMILY WRAPPER FUNCTION

View source: R/networksBetadiversity.R

calcTempBetaDivBAMRR Documentation

TEMPORAL BETA-DIVERSITY PER TETRAPOD FAMILY WRAPPER FUNCTION

Description

This function loads and prepares networks to calculate temporal spp turnover (beta diversity) for each tetrapod family separately and saves the outputs. beta diversity is calculated per pairs of pixels of the same location, but different scenarios (a baseline/current scenario and a change scenario). this function was designed to be parallelelized.

Usage

calcTempBetaDivBAMR(
  ff,
  BLweb,
  res.dir,
  out.dir,
  dietcat = dietcat,
  families = c("allTaxon", "bird", "mammal", "reptile", "amphibian"),
  toDo = "all",
  method = "all",
  mode = "composition",
  cacheRepo = options("reproducible.cachePath")
)

Arguments

ff

is the a file path to list of networks obtained from a scenario of change.

BLweb

a baseline web (not a file path) to be compared with the scenario webs

res.dir

is the directory where scenario simulation results were saved

out.dir

is the directory where outputs will be saved

dietcat

diet categories (i.e., lowest trophic level nodes that are ubiquitous across all networks)

families

determines for which families beta div will be calculated (this subsets the species)

toDo

controls if beta-diversity has to be recalculated for 'all' networks or just 'missing' ones.

method

is passed to networkTempBetaDiv

mode

is passed to networkTempBetaDiv

cacheRepo

passed to reproducible::Cache


CeresBarros/ToolsCB documentation built on Aug. 23, 2024, 4:22 p.m.