permanova_oneway: PERMANOVA one-way

View source: R/utils.R

permanova_onewayR Documentation

PERMANOVA one-way

Description

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

Usage

permanova_oneway(
  x,
  factEnv,
  type = "P",
  method = "bray",
  transformation = "none"
)

Arguments

x

ecological community data.

factEnv

label for the community data.

type

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

method

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

transformation

Mathematical function to reduce the weight of very dominant species.

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.