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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Apr 9 10:18:39 CEST 2011


Author: jarioksa
Date: 2011-04-09 10:18:39 +0200 (Sat, 09 Apr 2011)
New Revision: 1583

Modified:
   pkg/vegan/R/stressplot.R
Log:
draw completely monotone regression

Modified: pkg/vegan/R/stressplot.R
===================================================================
--- pkg/vegan/R/stressplot.R	2011-04-09 08:09:31 UTC (rev 1582)
+++ pkg/vegan/R/stressplot.R	2011-04-09 08:18:39 UTC (rev 1583)
@@ -39,7 +39,7 @@
     }
     ## Monotone line except in linear, and local has several...
     if (object$iregn != 2) {
-        ist <- c(object$istart, object$ndis - 1)
+        ist <- c(object$istart, object$ndis + 1)
         if (object$iregn == 3)
             object$ngrp <- 1
         for(j in 1:object$ngrp) {



More information about the Vegan-commits mailing list