fst.ses.mpd: Fast computation of MPD and SES.MPD

View source: R/mpd.mntd.R

fst.ses.mpdR Documentation

Fast computation of MPD and SES.MPD

Description

Fast computation of MPD and SES.MPD

Usage

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

Arguments

comm

a data.frame containing species abundance, better set site name as rowname

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.MPD should be calculated

abundance_weighted

whether MPD/SES.MPD 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.