Learn R Programming

ecocbo (version 0.12.0)

SS: Sum of squares using Huygen Theorem

Description

Calculates sum of squares using Huygen theorem as implemented by Anderson (2014).

Usage

SS(d)

Value

A numeric vector containing the dimension for the distance matrix, and the value for the sum of squares for the matrix.

Arguments

d

distance matrix from which the sum of squares will be calculated.

Author

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

References

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