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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Mar 8 19:02:00 CET 2009


Author: jarioksa
Date: 2009-03-08 19:02:00 +0100 (Sun, 08 Mar 2009)
New Revision: 732

Modified:
   pkg/vegan/R/as.mcmc.oecosimu.R
Log:
a stupid error: worked in tests but would usually fail

Modified: pkg/vegan/R/as.mcmc.oecosimu.R
===================================================================
--- pkg/vegan/R/as.mcmc.oecosimu.R	2009-03-08 15:54:41 UTC (rev 731)
+++ pkg/vegan/R/as.mcmc.oecosimu.R	2009-03-08 18:02:00 UTC (rev 732)
@@ -1,7 +1,7 @@
 `as.mcmc.oecosimu` <-
     function(x) 
 {
-    x <- as.ts(out)
+    x <- as.ts(x)
     mcpar <- attr(x, "tsp")
     mcpar[3] <- round(1/mcpar[3])
     attr(x, "mcpar") <- mcpar



More information about the Vegan-commits mailing list