[Vegan-commits] r2498 - in pkg/vegan: R inst

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Apr 29 10:00:00 CEST 2013


Author: jarioksa
Date: 2013-04-29 10:00:00 +0200 (Mon, 29 Apr 2013)
New Revision: 2498

Modified:
   pkg/vegan/R/raupcrick.R
   pkg/vegan/inst/ChangeLog
Log:
raupcrick adapted to r2495: change test directions in onesided oecosimu

(this was spotted by tests/oecosimu-tests)


Modified: pkg/vegan/R/raupcrick.R
===================================================================
--- pkg/vegan/R/raupcrick.R	2013-04-29 07:36:56 UTC (rev 2497)
+++ pkg/vegan/R/raupcrick.R	2013-04-29 08:00:00 UTC (rev 2498)
@@ -12,7 +12,7 @@
     ## but is much slower
     sol <- oecosimu(comm, function(x) tcrossprod(x)[tri], method = null,
                     nsimul = nsimul,
-                    alternative = if (chase) "greater" else "less")
+                    alternative = if (chase) "less" else "greater")
     ## Chase et al. way, or the standard way
     if (chase)
         out <- 1 - sol$oecosimu$pval

Modified: pkg/vegan/inst/ChangeLog
===================================================================
--- pkg/vegan/inst/ChangeLog	2013-04-29 07:36:56 UTC (rev 2497)
+++ pkg/vegan/inst/ChangeLog	2013-04-29 08:00:00 UTC (rev 2498)
@@ -40,6 +40,9 @@
 	Manual Barreneche (jumanbar) in GitHub (issue #14). NB. The
 	direction of the test changed from previous versions.
 
+	* raupcrick: adapted to the change in oecosimu() to define the
+	direction of the test.
+
 Version 2.1-28 (closed April 19, 2013)
 
 	* betadisper: failed with type = "centroid" when there was only



More information about the Vegan-commits mailing list