fst.ses.mntd: fast computation of MNTD/SES.MNTD

View source: R/mpd.mntd.R

fst.ses.mntdR Documentation

fast computation of MNTD/SES.MNTD

Description

fast computation of MNTD/SES.MNTD

Usage

fst.ses.mntd(
  comm,
  phy_dist,
  null_model = "taxaShuffle",
  nworkers = NULL,
  ses = NULL,
  abundance_weighted = F,
  runs = NULL
)

Arguments

comm

a data.frame containing species abundance

phy_dist

a matrix containing phylogenetic distance

null_model

only implemented for random taxa.labels

nworkers

numbers of cores used for computation

ses

if SES.MNTD should be calculated

abundance_weighted

whether MNTD/SES.MNTD is abundance weighted

runs

usually 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.