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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Jan 7 16:23:30 CET 2011


Author: jarioksa
Date: 2011-01-07 16:23:29 +0100 (Fri, 07 Jan 2011)
New Revision: 1438

Modified:
   pkg/vegan/R/wcmdscale.R
   pkg/vegan/inst/ChangeLog
Log:
get back GOF

Modified: pkg/vegan/R/wcmdscale.R
===================================================================
--- pkg/vegan/R/wcmdscale.R	2011-01-06 08:00:32 UTC (rev 1437)
+++ pkg/vegan/R/wcmdscale.R	2011-01-07 15:23:29 UTC (rev 1438)
@@ -49,7 +49,7 @@
              sum(ev)/sum(e$values[e$values > 0]))
     if (eig || x.ret || add) {
         out <- list(points = points, eig = if (eig) e$values,
-                    x = if (x.ret) m, ac = NA, GOF = NA, weights = w,
+                    x = if (x.ret) m, ac = NA, GOF = GOF, weights = w,
                     negaxes = negaxes)
         class(out) <- "wcmdscale"
     }

Modified: pkg/vegan/inst/ChangeLog
===================================================================
--- pkg/vegan/inst/ChangeLog	2011-01-06 08:00:32 UTC (rev 1437)
+++ pkg/vegan/inst/ChangeLog	2011-01-07 15:23:29 UTC (rev 1438)
@@ -23,9 +23,7 @@
 	summary.eigenvals() estimates the proportions explained using
 	absolute values of eigenvalues since this seems to make sense
 	there (the proportion explained is now based on absolute
-	eigenvalues to give more sensible output). Moreover, wcmdscale()
-	will now always give goodness of fit (GOF) as NA, since I have no
-	clue how to calculate GOF meaningfully in PCoA.
+	eigenvalues to give more sensible output).
 
 Version 1.18-19 (closed January 3, 2011)
 



More information about the Vegan-commits mailing list