Changelog
Source:NEWS.md
ggvegan (development version)
New Functions
autolayer.envfitis a new function to addvegan::envfit()results to anordiggplot()graph.autolayer.ordisurfis a new function to addvegan::ordisurf()contours and raster surface (optional) to any ordination graph.geom_ordi_repelis a new layer function forordiggplot()to draw points (optionally) at the ordination scores and repel their text labels to avoid over-plotting.
New features
fortify.radfitandautoplot.radfitmethods implemented providing support forvegan::radfit()andvegan::as.rad().ordiggplot()adds mappingscoretocolourfor automatic colouring of layers analogously toautoplotmethods.geom_ordi_text()andgeom_ordi_label()acceptvegan::envfit()result as an argumentdata=to draw locations of centroids of factor levels in anordiggplot()layer.geom_ordi_arrow()acceptsvegan::envfit()result as an argumentdata=for labelled (optionally) arrows of fitted vectors in anordiggplot()layer.
Bug fixes
Fisher and Preston plots use one-unit bars even when bins are empty. Preston plots also label the full range and hide fitted annotations when
show.fitted = FALSE.ANOSIM plots say that significance was not assessed when no permutations were run.
Biplot arrows now scale to both axes and keep their original lengths when there are no other scores to scale to.
ordiggplot()again acceptsarrow.multo set arrow lengths manually.Ordination layers now accept arguments from the calling environment and keep their required coordinates when custom aesthetics are added. Surface layers use their own aesthetics, and repelled labels respect the requested size.
RDA and dbRDA plots and score tables now use the requested scaling constant. CCA, RDA and dbRDA plots handle a single axis and draw factor centroids once.
dbRDA plots show species scores when available. Requesting just biplot, regression or centroid scores now works.
tidy()respects the selected NMDS axes. Bothfortify()andtidy()respect axis selection for isomap site scores.PRC plots accept numeric species selections and label their scores on the right. The vertical axis describes the effect and the legend identifies treatments.
Rank-abundance plots handle unnamed species and sites with the same number of species. Combined plots draw the observations once and keep fitted lines separate when they share a colour.
stat_vectorfit()matches environmental data to site labels, even when rows are reordered or sites are omitted. Unweighted fits no longer require a weight mapping.ggplot2 would report a warning about dropped aesthetics when
StatVectorfitwas run. #43 Fixed by @jarioksa in #44.geom_ordi_arrowdid not pass weights of CCA or other weighted ordination methods toStatVectorfit.
ggvegan 0.2.1
CRAN release: 2026-02-27
Patch release to address issued raised by CRAN during manual inspection of the package upon first submission.
ggvegan 0.2
This [was intended as] the first release to CRAN. *ggvegan** is under active development, and comments and contributions are welcome.
Bug Fixes
-
constwas not being passed toscores.rdainautoplot.rda. #26 Reported by Richard Telford