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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Mar 9 13:52:18 CET 2009


Author: jarioksa
Date: 2009-03-09 13:52:18 +0100 (Mon, 09 Mar 2009)
New Revision: 733

Modified:
   pkg/vegan/R/as.mcmc.oecosimu.R
Log:
as.mcmc.oecosimu result inherits from timeseries (ts) classes

Modified: pkg/vegan/R/as.mcmc.oecosimu.R
===================================================================
--- pkg/vegan/R/as.mcmc.oecosimu.R	2009-03-08 18:02:00 UTC (rev 732)
+++ pkg/vegan/R/as.mcmc.oecosimu.R	2009-03-09 12:52:18 UTC (rev 733)
@@ -5,6 +5,6 @@
     mcpar <- attr(x, "tsp")
     mcpar[3] <- round(1/mcpar[3])
     attr(x, "mcpar") <- mcpar
-    class(x) <- "mcmc"
+    class(x) <- c("mcmc", class(x))
     x
 }



More information about the Vegan-commits mailing list