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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Jan 19 07:37:38 CET 2011


Author: jarioksa
Date: 2011-01-19 07:37:36 +0100 (Wed, 19 Jan 2011)
New Revision: 1464

Modified:
   pkg/vegan/R/anova.ccabyaxis.R
Log:
anova.ccabyaxis works also without subsetting

Modified: pkg/vegan/R/anova.ccabyaxis.R
===================================================================
--- pkg/vegan/R/anova.ccabyaxis.R	2011-01-18 17:22:35 UTC (rev 1463)
+++ pkg/vegan/R/anova.ccabyaxis.R	2011-01-19 06:37:36 UTC (rev 1464)
@@ -20,6 +20,8 @@
                      ncol = ncol(u))
         lc[object$subset,]  <- u
         object$call$subset <- object$subset
+    } else {
+        lc <- u
     }
     lc <- as.data.frame(lc)
     axnam <- colnames(lc)



More information about the Vegan-commits mailing list