fst.comdistnt: fast computation of inter-community mean nearest taxon...

View source: R/mpd.mntd.R

fst.comdistntR Documentation

fast computation of inter-community mean nearest taxon distance (bNTI)

Description

fast computation of inter-community mean nearest taxon distance (bNTI)

Usage

fst.comdistnt(
  comm,
  phy_dist,
  exclude_conspecifics = FALSE,
  nworkers = NULL,
  ses = F,
  abundance_weighted = FALSE,
  runs = NULL
)

Arguments

comm

a data.frame containing species abundance

phy_dist

a matrix containing phylogenetic distance

exclude_conspecifics

Should conspecific taxa in different communities be exclude from MNTD calculations? (default = FALSE)

nworkers

numbers of cores used for computation

ses

if ses.bNTI or NTI be calculated

abundance_weighted

whether bNTI is abundance weighted

runs

999 random draws, can be set to to smaller number to reduce computation time


kun-ecology/ecoloop documentation built on Jan. 9, 2025, 10:20 a.m.