[Vegan-commits] r650 - in pkg/vegan: R man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Dec 21 09:00:52 CET 2008


Author: jarioksa
Date: 2008-12-21 09:00:52 +0100 (Sun, 21 Dec 2008)
New Revision: 650

Modified:
   pkg/vegan/R/print.nestednodf.R
   pkg/vegan/man/nestedtemp.Rd
Log:
print.nestednodf to match generic, and help page explains what print() returns

Modified: pkg/vegan/R/print.nestednodf.R
===================================================================
--- pkg/vegan/R/print.nestednodf.R	2008-12-21 07:53:35 UTC (rev 649)
+++ pkg/vegan/R/print.nestednodf.R	2008-12-21 08:00:52 UTC (rev 650)
@@ -1,9 +1,9 @@
 `print.nestednodf` <-
-    function(x)
+    function(x, ...)
 {    
-    cat("N columns:", format(x$statistic["N.columns"]), "\n")
-    cat("N rows:", format(x$statistic["N.rows"]), "\n")
-    cat("NODF:", format(x$statistic["NODF"]), "\n")
-    cat("Matrix fill:", format(x$fill), "\n")
+    cat("N columns  :", format(x$statistic["N.columns"], ...), "\n")
+    cat("N rows     :", format(x$statistic["N.rows"], ...), "\n")
+    cat("NODF       :", format(x$statistic["NODF"], ...), "\n")
+    cat("Matrix fill:", format(x$fill, ...), "\n")
     invisible(x)
 }

Modified: pkg/vegan/man/nestedtemp.Rd
===================================================================
--- pkg/vegan/man/nestedtemp.Rd	2008-12-21 07:53:35 UTC (rev 649)
+++ pkg/vegan/man/nestedtemp.Rd	2008-12-21 08:00:52 UTC (rev 650)
@@ -96,7 +96,9 @@
   nestedness according to this metric: (1) complete overlap of 1's from
   right to left columns and from down to up rows, and (2) decreasing
   marginal totals between all pairs of columns and all pairs of
-  rows
+  rows. The nestedness statistic is evaluated separately for columns
+  (\code{N columns}) for rows (\code{N rows}) and combined for the
+  whole matrix (\code{NODF}). 
 }
 
 \value{



More information about the Vegan-commits mailing list