permanova_twoway: PERMANOVA two-way

View source: R/utils.R

permanova_twowayR Documentation

PERMANOVA two-way

Description

Calculates observed F and mean squares for the residuals and among sites. This function is a helper for prep_data_nestedsymmetric().

Usage

permanova_twoway(
  x,
  factEnv,
  method = "bray",
  transformation = "none",
  model = "nested.symmetric"
)

Arguments

x

ecological community data.

factEnv

label for the community data.

method

appropriate distance/dissimilarity metric (e.g. Gower, Bray–Curtis, Jaccard, etc).

transformation

Mathematical function to reduce the weight of very dominant species.

model

which algorithm to use for the calculation? At the moment, the only option is "nested.symmetric".

Value

A data frame containing the resulting PERMANOVA table.

Author(s)

Edlin Guerra-Castro (edlinguerra@gmail.com), Arturo Sanchez-Porras

References

Underwood, A. J. (1997). Experiments in ecology: their logical design and interpretation using analysis of variance. Cambridge university press.

Anderson, M. J. (2014). Permutational multivariate analysis of variance (PERMANOVA). Wiley statsref: statistics reference online, 1-15.

See Also

vegan::vegdist()


ecocbo documentation built on Sept. 11, 2024, 8:09 p.m.