View source: R/networksBetadiversity.R
calcTempBetaDivBAMR | R Documentation |
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.
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")
)
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 |
mode |
is passed to |
cacheRepo |
passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.