Last data update: 2014.03.03

R: Function for organize data for Package SYNCSA
organize.syncsaR Documentation

Function for organize data for Package SYNCSA

Description

Package SYNCSA requires that the species and community sequence in the data matrix must be the same for all matrices.

The Function organizes the data for the functions of the package SYNCSA, placing the matrices of community, traits, phylogenetic distance and environmental varibles in the same order.

Usage

organize.syncsa(comm, traits, dist.spp, envir)

Arguments

comm

Community data, with species as columns and sampling units as rows.

traits

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

dist.spp

Matrix containing phylogenetic distance between species. Must be a complete matrix (not a half diagonal matrix).This matrix can be larger than community data (more species) as long as it has at least all species that are in community data.

envir

Environmental variables for each community, with variables as columns and sampling units as rows.

Value

The matrices of community, traits, phylogenetic distance and environmental variables. The objects returned belong to the matrix class.

Note

The function organizes the matrices despite the absence of one of the matrices, provided that the community data had been entered. Unspecified matrices will appear as NULL.

Author(s)

Vanderlei Júlio Debastiani <vanderleidebastiani@yahoo.com.br>

See Also

matrix.t, matrix.x, matrix.p, syncsa

Results