beta_deviation_siqueira_et_al_2019: Computing Beta-Deviation

Description Usage Arguments References

View source: R/beta_deviation_siqueira_et_al_2019_function.R

Description

This function computes observed beta-diversity (community variability), expected beta-diversity and beta-deviation for a given grouping factor. It is a changed version of the "beta_deviation" function to use the same null model as used in "Siqueira et al. 2020"

Usage

1
2
3
4
5
6
7
8
9
beta_deviation_siqueira_et_al_2019(
  com,
  dist = "bray",
  keep.gamma = T,
  group,
  times = 1000,
  seed = NULL,
  transform = NULL
)

Arguments

com

The community data. A species by site matrix containing abundance or presence/absence data.

dist

The beta-diversity metric to be used. Default is set to bray-curtis beta dissimilarity.

keep.gamma

Should permutations be restrict to each treatment?

group

a grouping factor to compute community variability

times

Number of permuted matrices. Default is set to 1000.

seed

Do you wish set a seed? Default is to "NULL"

transform

A character. Should the community matrix values be transformed? Default is set to "NULL". Options here are the same as for the decostand function from vegan.

References

#'Siqueira, Tadeu, Victor S. Saito, Luis M. Bini, Adriano S. Melo, Danielle K. Petsch, Victor L. Landeiro, Kimmo T. Tolonen, Jenny Jyrkänkallio‐Mikkola, Janne Soininen, and Jani Heino. “Community Size Can Affect the Signals of Ecological Drift and Niche Selection on Biodiversity.” Ecology 101, no. 6 (2020): e03014. https://doi.org/10.1002/ecy.3014.


RodolfoPelinson/PredatorIsolationStochasticity documentation built on Feb. 21, 2022, 12:03 p.m.