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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Aug 26 08:53:47 CEST 2013


Author: jarioksa
Date: 2013-08-26 08:53:47 +0200 (Mon, 26 Aug 2013)
New Revision: 2593

Modified:
   pkg/vegan/R/anova.ccabyaxis.R
Log:
remove a case of stats:::

Modified: pkg/vegan/R/anova.ccabyaxis.R
===================================================================
--- pkg/vegan/R/anova.ccabyaxis.R	2013-08-25 15:16:16 UTC (rev 2592)
+++ pkg/vegan/R/anova.ccabyaxis.R	2013-08-26 06:53:47 UTC (rev 2593)
@@ -10,7 +10,8 @@
     ## Handle missing values in scores, both "omit" and "exclude" to
     ## match dims with data.
     if (!is.null(object$na.action)) {
-        u <- stats:::napredict.exclude(object$na.action, object$CCA$u)
+        u <- napredict(structure(object$na.action, class="exclude"),
+                       object$CCA$u)
     } else {
         u <- object$CCA$u
     }



More information about the Vegan-commits mailing list