Learn R Programming

⚠️There's a newer version (1.1) of this package.Take me there.

Traitspace (version 1.0)

A Predictive Model for Trait Based Community Assembly of Plant Species

Description

Implements a predictive model of community assembly called 'Traitspace' (Laughlin et al. 2012, Ecology Letters). Traitspace is a hierarchical Bayesian model that translates the theory of trait-based environmental filtering into a statistical model that incorporates intraspecific trait variation to predict the relative abundances and the distributions of species. The package includes functions to plot the predicted and the observed values. It also includes functions to compare the predicted values against the observed values using a variety of different distance measures and to implement permutation tests to test their statistical significance.

Copy Link

Version

Install

install.packages('Traitspace')

Monthly Downloads

15

Version

1.0

License

GPL (>= 2)

Maintainer

Chaitanya Joshi

Last Published

July 7th, 2015

Functions in Traitspace (1.0)

plotComb

Plot traitspace results
spdata

Simulated species data
check

Checks the input data
print.traitspace

prints an object of class "traitspace". This function prints out the summary of the results of the Traitspace of the TraitspaceMod functions. See details.
Traitspace

Traitspace Model
trueP

estimate observed matrix
TraitspaceMod

Modified Traitspace Model
distTraitspace

Calculate the distances
pval

Permutation test on distances
plotEach

Plot traitspace results one by one
plotCorr

plot the predicted values against the observed values