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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Jan 10 08:39:26 CET 2013


Author: jarioksa
Date: 2013-01-10 08:39:26 +0100 (Thu, 10 Jan 2013)
New Revision: 2357

Modified:
   pkg/vegan/R/print.capscale.R
Log:
capscale prints the value of additive constant with 'add = TRUE'

Modified: pkg/vegan/R/print.capscale.R
===================================================================
--- pkg/vegan/R/print.capscale.R	2013-01-09 15:08:57 UTC (rev 2356)
+++ pkg/vegan/R/print.capscale.R	2013-01-10 07:39:26 UTC (rev 2357)
@@ -3,5 +3,7 @@
 {
     NextMethod("print", x, ...)
     if (!is.null(x$metaMDSdist))
-        cat("metaMDSdist transformed data:", x$metaMDSdist, "\n\n") 
+        cat("metaMDSdist transformed data:", x$metaMDSdist, "\n\n")
+    if (!is.null(x$ac))
+        cat("Constant added to distances:", x$ac, "\n\n")
 }



More information about the Vegan-commits mailing list