From b5ae8f228982202c59fb726e76f43d07d41d760e Mon Sep 17 00:00:00 2001 From: Jari Oksanen Date: Wed, 19 Jun 2024 13:50:34 +0300 Subject: [PATCH] vegemite: identical LC scores are not numerically exact --- R/vegemite.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/vegemite.R b/R/vegemite.R index 7e92f2d10..6e347cbe3 100644 --- a/R/vegemite.R +++ b/R/vegemite.R @@ -66,7 +66,7 @@ ord$species <- -ord$species } ## order factors and sites within factor levels - site.ind <- order(ord$constraints, ord$sites) + site.ind <- order(round(ord$constraints, 6), ord$sites) if (is.null(sp.ind)) sp.ind <- order(ord$species) }