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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Mar 2 19:19:47 CET 2010


Author: jarioksa
Date: 2010-03-02 19:19:47 +0100 (Tue, 02 Mar 2010)
New Revision: 1159

Modified:
   pkg/vegan/R/nesteddisc.R
   pkg/vegan/inst/ChangeLog
Log:
nesteddisc does not try as hard to optimize: slacker but quicker

Modified: pkg/vegan/R/nesteddisc.R
===================================================================
--- pkg/vegan/R/nesteddisc.R	2010-03-02 18:16:37 UTC (rev 1158)
+++ pkg/vegan/R/nesteddisc.R	2010-03-02 18:19:47 UTC (rev 1159)
@@ -9,8 +9,8 @@
     ## enumeration
 
     ## starting values and CONSTANTS
-    NALL <- 7
-    NITER <- 5000
+    NALL <- 6
+    NITER <- 1000
     ties <- FALSE
     trace <- FALSE
     ## Code

Modified: pkg/vegan/inst/ChangeLog
===================================================================
--- pkg/vegan/inst/ChangeLog	2010-03-02 18:16:37 UTC (rev 1158)
+++ pkg/vegan/inst/ChangeLog	2010-03-02 18:19:47 UTC (rev 1159)
@@ -7,7 +7,8 @@
 	* nesteddisc: failed if highest species frequencies were tied. The
 	error message was "Error: dims [prodcut 15] do not match the
 	length of object [0]". Found by Eric Fuchs in the help forum of
-	vegan.r-forge.r-project.org. 
+	vegan.r-forge.r-project.org. The function does not try as hard to
+	optimize the index, and hence it is much faster (but slacker).
 
 	* screeplot: New argument 'legend' for all methods (except
 	'decorana') to draw a legend if the observed and broken stick



More information about the Vegan-commits mailing list