Package vegclust is a package designed to assist analyses of vegetation structure and composition. It is intended to be useful for community ecologists and forest engineers, but the clustering functions can be used in other fields. The package provides functions to:

Package installation

Package vegclust can be found at CRAN package repository. In addition, the latest stable vegclust R package can be installed from GitHub as follows:


Additionally, users can have help to run package functions directly as package vignettes, by forcing their inclusion in installation:

                         build_opts = c("--no-resave-data", "--no-manual"),
                         build_vignettes = TRUE)

Note about Community Trajectory Analysis

Until ver. 2.0, package vegclust included functions to conduct Community Trajectory Analysis (CTA). Since ver. 2.0 these functions have been moved to an independent package ecotraj available at and also in CRAN.


  • De Cáceres, M., Font, X., & Oliva, F. 2010. The management of vegetation classifications with fuzzy clustering. Journal of Vegetation Science 21: 1138–1151.

  • De Cáceres, M., Legendre, P., & He, F. 2013. Dissimilarity measurements and the size structure of ecological communities (D. Faith, Ed.). Methods in Ecology and Evolution 4: 1167–1177.