matrix.t: Matrix T

Description Usage Arguments Value Note Author(s) References See Also Examples

Description

Function to obtain a matrix containing trait averages at community level. For more details, see syncsa.

Usage

1
2
3
4
5
6
7
8
9
matrix.t(
  comm,
  traits,
  scale = TRUE,
  ranks = TRUE,
  transformation = "standardized",
  spp.weights = NULL,
  notification = TRUE
)

Arguments

comm

Community data, with species as columns and sampling units as rows. This matrix can contain either presence/absence or abundance data.

traits

Matrix or data frame of species described by traits, with traits as columns and species as rows.

scale

Logical argument (TRUE or FALSE) to specify if the traits are measured on different scales (Default scale = TRUE). When scale = TRUE traits are measured on different scales and the matrix T is subjected to standardization within each trait. When scale = FALSE traits are measured on the same scale the matrix T is not subjected to standardization.

ranks

Logical argument (TRUE or FALSE) to specify if ordinal variables are convert to ranks (Default ranks = TRUE).

transformation

Method to community data transformation, "none", "standardized" or "weights" (Default transformation = "standardized").

spp.weights

Vector with 0 or 1 to specify individual species weights (Default spp.weights = NULL).

notification

Logical argument (TRUE or FALSE) to specify if notifications of missing observations are shown (Default notification = TRUE).

Value

matriz.w

Standardized community matrix, where rows are communities and columns species. If default transformation, row totals (communities) = 1.

matriz.b

Matrix of traits, exactly the same data input.

matriz.T

Matrix containing trait averages at community level. If Scale = TRUE the matrix T is standardized within the traits.

Note

IMPORTANT: The sequence species show up in community data matrix MUST be the same as they show up in traits matrix or in the spp.weights vector. See organize.syncsa.

Author(s)

Vanderlei Julio Debastiani <vanderleidebastiani@yahoo.com.br>

References

Pillar, V.D.; Duarte, L.d.S. (2010). A framework for metacommunity analysis of phylogenetic structure. Ecology Letters, 13, 587-596.

Pillar, V.D., Duarte, L.d.S., Sosinski, E.E. & Joner, F. (2009). Discriminating trait-convergence and trait-divergence assembly patterns in ecological community gradients. Journal of Vegetation Science, 20, 334:348.

See Also

syncsa, organize.syncsa, matrix.p, matrix.x

Examples

1
2
data(ADRS)
matrix.t(ADRS$community, ADRS$traits)

vanderleidebastiani/SYNCSA documentation built on Sept. 4, 2020, 10:57 p.m.