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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Sep 26 11:07:09 CEST 2011


Author: jarioksa
Date: 2011-09-26 11:07:08 +0200 (Mon, 26 Sep 2011)
New Revision: 1892

Modified:
   pkg/vegan/R/print.summary.permat.R
Log:
print.summary.permat did not print the 'method' name

Modified: pkg/vegan/R/print.summary.permat.R
===================================================================
--- pkg/vegan/R/print.summary.permat.R	2011-09-26 07:43:00 UTC (rev 1891)
+++ pkg/vegan/R/print.summary.permat.R	2011-09-26 09:07:08 UTC (rev 1892)
@@ -6,7 +6,7 @@
     cat("Summary of object of class 'permat'\n\nCall: ")
     print(x$x$call)
     cat("\nMatrix type:", attr(x$x, "mtype"), "\nPermutation type:", attr(x$x, "ptype"))
-    cat("\nMethod: ", attr(x, "method"), sep = "")
+    cat("\nMethod: ", attr(x$x, "method"), sep = "")
     if (attr(x$x, "ptype") == "swap") {
         if (!is.na(attr(x$x, "burnin")))
             cat(", burnin: ", attr(x$x, "burnin"), sep = "")



More information about the Vegan-commits mailing list