env.part: Partitions environmental gradient for analysis

Description Usage Arguments Value Author(s) References


This function compares the number of records in the environmental vector and the umber of rows in the taxa matrix to ensure they are compatible. It then uses the rank order of environmental values at each sampling location to determine group membership of all sampling sites at each level of partitioning.


env.part(env, taxa, minSplt = minSplt)



A vector of values for each sampling location along the environmental gradient.


A site by taxon matrix containing observed counts at each sampling location.


The minimum split size used in binary partitioning. The default is to use the argument from the original TITAN function call.


A list of seven objects:

  • envan environmental vector

  • numUnitthe number of sample units in env

  • numTxathe number of distinct taxonomic units in taxa

  • numClassthe number of candidate partitions (numUnit-2*minSplt)

  • srtEnva sorted version of the environmental vector

  • envclsa vector of environmental values used to distinguish partitions

  • eclassa matrix of group membership relative to each partition in envcls


M. Baker and R. King


Baker, ME and RS King. 2010. A new method for detecting and interpreting biodiversity and ecological community thresholds. Methods in Ecology and Evolution 1(1): 25:37.

Search within the TITAN2 package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.