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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Mar 4 14:25:37 CET 2013


Author: jarioksa
Date: 2013-03-04 14:25:36 +0100 (Mon, 04 Mar 2013)
New Revision: 2462

Modified:
   pkg/vegan/R/fitspecaccum.R
   pkg/vegan/inst/ChangeLog
Log:
model = 'asymp' did not fit SSasymp but SSlogis (like model = 'logis', too)

Modified: pkg/vegan/R/fitspecaccum.R
===================================================================
--- pkg/vegan/R/fitspecaccum.R	2013-03-04 09:22:06 UTC (rev 2461)
+++ pkg/vegan/R/fitspecaccum.R	2013-03-04 13:25:36 UTC (rev 2462)
@@ -22,7 +22,7 @@
         "gleason" = nls(y ~ SSgleason(x, k, slope),  ...),
         "gitay" = nls(y ~ SSgitay(x, k, slope), ...),
         "lomolino" = nls(y ~ SSlomolino(x, Asym, xmid, slope), ...),
-        "asymp" = nls(y ~ SSlogis(x, Asym, xmid, scal), ...),
+        "asymp" = nls(y ~ SSasymp(x, Asym, R0, lrc), ...),
         "gompertz" = nls(y ~ SSgompertz(x, Asym, xmid, scal), ...),
         "michaelis-menten" = nls(y ~ SSmicmen(x, Vm, K),  ...),
         "logis" = nls(y ~ SSlogis(x, Asym, xmid, scal),  ...),

Modified: pkg/vegan/inst/ChangeLog
===================================================================
--- pkg/vegan/inst/ChangeLog	2013-03-04 09:22:06 UTC (rev 2461)
+++ pkg/vegan/inst/ChangeLog	2013-03-04 13:25:36 UTC (rev 2462)
@@ -19,6 +19,9 @@
 	of the new argument is still untested with specaccum() support
 	functions.
 
+	* fitspecaccum: model = "asymp" was actually fitting logistic
+	regression (the same as model = "logis").
+
 	* text.cca, points.cca: gained argument 'axis.bp' (defaults TRUE)
 	to suppress drawing axes for scaled biplot arrows. Only effective
 	if 'bp' scores were requested.



More information about the Vegan-commits mailing list