alphaContrastTest3: Test for differences in alpha diversity between three data...

Description Usage Arguments Details Value References See Also

View source: R/diversityTests-divtable.R

Description

The null hypothesis for this tests is that there is no difference in alpha diversity between the three sets of datasets sites represented in tab and tab, or or adt.a and adt.b. The method for the initial class divtable version of this was described in Scofield et al. (2012). There currently is no support for contrasting allelic data.

Usage

1
2
3
4
5
6
7
8
## S3 method for class 'divtable'
alphaContrastTest3(tab.a, tab.b, tab.c,
  zero.div.adjust = TRUE, n.resample = 10000, method = c("bootstrap",
  "permute"), test.quantiles = c(0.001, 0.01, 0.05, 0.1, 0.5, 0.9, 0.95, 0.99,
  0.999), ...)

## Default S3 method:
alphaContrastTest3(tab.a, tab.b, tab.c, ...)

Arguments

tab.a

First site-by-source table, of class divtable

tab.b

Second site-by-source table, of class divtable

tab.c

Third site-by-source table, of class divtable

zero.div.adjust

Logical, if TRUE (the default), then groups with 0 within-group diversity are assigned a minimum diversity which is half the empirical diversity possible given the group size

n.resample

Number of iterations for creation of the null distribution

method

"bootstrap" or "permute", whether to create null distribution iterations with ("bootstrap") or without ("permute") replacement

Details

The null hypothesis for this tests is that there is no difference in alpha diversity between the three sets of datasets sites represented in tab.a, tab.b and tab.c. The method was described in Scofield et al. (2012).

Value

An diversity_test object with the result of the test

References

Scofield, D. G., Smouse, P. E., Karubian, J. and Sork, V. L. (2012) Use of alpha, beta and gamma diversity measures to characterize seed dispersal by animals. American Naturalist 180:719-732.

See Also

alphaDiversityTest, alphaContrastTest


douglasgscofield/dispersalDiversity documentation built on March 30, 2021, 9:50 a.m.