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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Mar 23 21:01:12 CET 2014


Author: jarioksa
Date: 2014-03-23 21:01:12 +0100 (Sun, 23 Mar 2014)
New Revision: 2865

Modified:
   pkg/vegan/R/tabasco.R
Log:
fix carelessness of previus commit

Modified: pkg/vegan/R/tabasco.R
===================================================================
--- pkg/vegan/R/tabasco.R	2014-03-23 19:34:54 UTC (rev 2864)
+++ pkg/vegan/R/tabasco.R	2014-03-23 20:01:12 UTC (rev 2865)
@@ -33,7 +33,7 @@
             ## they are not, but this could be really frustrating and
             ## give obscure errors, and therefore we take care of
             ## identical ordering here
-            if (inherits(use, "hclust") && !is.null(hclust$labels))
+            if (inherits(use, "hclust") && !is.null(use$labels))
                 x <- x[use$labels,]
             else # dendrogram
                 x <- x[labels(use),]



More information about the Vegan-commits mailing list