[Vegan-commits] r728 - pkg/vegan/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Mar 7 22:12:38 CET 2009


Author: jarioksa
Date: 2009-03-07 22:12:38 +0100 (Sat, 07 Mar 2009)
New Revision: 728

Modified:
   pkg/vegan/man/oecosimu.Rd
Log:
Updating 'oecosimu' example to 'statistic' argument (I think I did this months ago, but it seems this was never committed)

Modified: pkg/vegan/man/oecosimu.Rd
===================================================================
--- pkg/vegan/man/oecosimu.Rd	2009-03-07 21:07:29 UTC (rev 727)
+++ pkg/vegan/man/oecosimu.Rd	2009-03-07 21:12:38 UTC (rev 728)
@@ -233,8 +233,7 @@
 ## Use the first eigenvalue of correspondence analysis as an index
 ## of structure: a model for making your own functions.
 data(sipoo)
-caeval <- function(x) decorana(x, ira=1)$evals
-out <- oecosimu(sipoo, caeval, "swap", burnin=100, thin=10)
+out <- oecosimu(sipoo, decorana, "swap", burnin=100, thin=10, statistic="evals")
 out
 ## Inspect the swap sequence as a time series object
 plot(as.ts(out))



More information about the Vegan-commits mailing list