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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Sep 26 14:55:18 CEST 2011


Author: jarioksa
Date: 2011-09-26 14:55:18 +0200 (Mon, 26 Sep 2011)
New Revision: 1894

Modified:
   pkg/vegan/R/simulate.nullmodel.R
Log:
no warning but message (and could even silently ignore these extra args)

Modified: pkg/vegan/R/simulate.nullmodel.R
===================================================================
--- pkg/vegan/R/simulate.nullmodel.R	2011-09-26 09:15:10 UTC (rev 1893)
+++ pkg/vegan/R/simulate.nullmodel.R	2011-09-26 12:55:18 UTC (rev 1894)
@@ -22,10 +22,10 @@
     } else {
         x <- m
         if (thin != 1)
-            warning("non-sequential model: 'thin' set to 1")
+            message("non-sequential model: 'thin' set to 1")
         thin <- 1L
-        if (burnin > 0)
-            warning("non-sequential model: 'burnin' set to 0")
+        if (burnin != 0)
+            message("non-sequential model: 'burnin' set to 0")
         burnin <- 0L
     }
     perm <- object$commsim$fun(x=x,



More information about the Vegan-commits mailing list