[Vegan-commits] r2192 - pkg/vegan/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat May 26 11:26:27 CEST 2012


Author: gsimpson
Date: 2012-05-26 11:26:27 +0200 (Sat, 26 May 2012)
New Revision: 2192

Modified:
   pkg/vegan/R/ordilabel.R
Log:
r2191 missed ordilabel

Modified: pkg/vegan/R/ordilabel.R
===================================================================
--- pkg/vegan/R/ordilabel.R	2012-05-26 09:09:33 UTC (rev 2191)
+++ pkg/vegan/R/ordilabel.R	2012-05-26 09:26:27 UTC (rev 2192)
@@ -9,8 +9,10 @@
     if (missing(labels))
         labels <- rownames(x)
     if (!missing(select)) {
-        x <- x[select, , drop = FALSE]
-        labels <- labels[select]
+        #x <- x[select, , drop = FALSE]
+        #labels <- labels[select]
+        x <- .checkSelect(select, x)
+        labels <- .checkSelect(select, labels)
     }
     if (!missing(priority)) {
         if (!missing(select))



More information about the Vegan-commits mailing list