Select: Determines Species Probabilities Based on Functional Traits

The objective of these functions is to derive a species assemblage that satisfies a functional trait profile. Restoring resilient ecosystems requires a flexible framework for selecting assemblages that are based on the functional traits of species. However, current trait-based models have been limited to algorithms that can only select species by optimising specific trait values, and could not elegantly accommodate the common desire among restoration ecologists to produce functionally diverse assemblages. We have solved this problem by applying a non-linear optimisation algorithm that optimises Rao Q, a closed-form functional trait diversity index that incorporates species abundances, subject to other linear constraints. This framework generalises previous models that only optimised the entropy of the community, and can optimise both functional diversity and entropy simultaneously. This package can also be used to generate experimental assemblages to test the effects of community-level traits on community dynamics and ecosystem function. The method is based on theory discussed in Laughlin (2014, Ecology Letters) <>.

Version: 1.4
Depends: R (≥ 3.3.0)
Imports: Rsolnp, latticeExtra, grDevices, stats, lattice, graphics, ade4, FD
Suggests: knitr, rmarkdown, testthat
Published: 2018-05-11
DOI: 10.32614/CRAN.package.Select
Author: Daniel Laughlin [cre, aut], Loic Chalmandrier [aut]
Maintainer: Daniel Laughlin <danielclaughlin at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
CRAN checks: Select results


Reference manual: Select.pdf
Vignettes: Vignette for using the selectSpecies( ) function


Package source: Select_1.4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): Select_1.4.tgz, r-oldrel (arm64): Select_1.4.tgz, r-release (x86_64): Select_1.4.tgz, r-oldrel (x86_64): Select_1.4.tgz
Old sources: Select archive


Please use the canonical form to link to this page.