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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Oct 4 07:40:19 CEST 2010


Author: jarioksa
Date: 2010-10-04 07:40:19 +0200 (Mon, 04 Oct 2010)
New Revision: 1327

Modified:
   pkg/vegan/R/SSarrhenius.R
Log:
wrote Arrhenius so that selfStart finds its gradient

Modified: pkg/vegan/R/SSarrhenius.R
===================================================================
--- pkg/vegan/R/SSarrhenius.R	2010-10-04 05:30:18 UTC (rev 1326)
+++ pkg/vegan/R/SSarrhenius.R	2010-10-04 05:40:19 UTC (rev 1327)
@@ -1,5 +1,5 @@
 SSarrhenius <-
-    selfStart(function(area, k, z) k*area^z,
+    selfStart(~ k*area^z,
               function(mCall, data, LHS)
 {
     xy <- sortedXyData(mCall[["area"]], LHS, data)



More information about the Vegan-commits mailing list