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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Nov 15 13:37:55 CET 2013


Author: jarioksa
Date: 2013-11-15 13:37:55 +0100 (Fri, 15 Nov 2013)
New Revision: 2708

Modified:
   pkg/vegan/R/print.oecosimu.R
   pkg/vegan/inst/ChangeLog
Log:
swap quantiles to match test direction as changed in r2495

Modified: pkg/vegan/R/print.oecosimu.R
===================================================================
--- pkg/vegan/R/print.oecosimu.R	2013-11-13 04:53:04 UTC (rev 2707)
+++ pkg/vegan/R/print.oecosimu.R	2013-11-15 12:37:55 UTC (rev 2708)
@@ -28,8 +28,8 @@
     }
     probs <- switch(x$oecosimu$alternative,
                     two.sided = c(0.025, 0.5, 0.975),
-                    less = c(0, 0.5, 0.95),
-                    greater = c(0.05, 0.5, 1))
+                    greater = c(0, 0.5, 0.95),
+                    less = c(0.05, 0.5, 1))
     qu <- apply(x$oecosimu$simulated, 1, quantile, probs=probs, na.rm = TRUE)
     m <- cbind("statistic" = x$oecosimu$statistic,
                "z" = x$oecosimu$z, "mean" = x$oecosimu$means, t(qu),

Modified: pkg/vegan/inst/ChangeLog
===================================================================
--- pkg/vegan/inst/ChangeLog	2013-11-13 04:53:04 UTC (rev 2707)
+++ pkg/vegan/inst/ChangeLog	2013-11-15 12:37:55 UTC (rev 2708)
@@ -12,6 +12,9 @@
 	Instead, permute package is used to create a permutation matrix
 	used in all cases with fixed number of permutations. At the first
 	stage, only the overall test is provided.
+
+	* oecosimu: change printed quantiles to match the direction of the
+	test as changed in r2495.
 	
 Version 2.1-38 (closed November 10, 2013)
 



More information about the Vegan-commits mailing list