Learn R Programming

Traitspace (version 1.1)

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

22

Version

1.1

License

GPL (>= 2)

Maintainer

Chaitanya Joshi

Last Published

November 18th, 2015

Functions in Traitspace (1.1)

plotComb

Plot traitspace results
Traitspace

Traitspace Model
distTraitspace

Calculate the distances
pval

Permutation test on distances
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.
check

Checks the input data
plotEach

Plot traitspace results one by one
plotCorr

plot the predicted values against the observed values
spdata

Simulated species data
TraitspaceMod

Modified Traitspace Model
trueP

estimate observed matrix