[Vegan-commits] r1415 - in pkg/vegan: inst man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Dec 13 17:28:07 CET 2010


Author: jarioksa
Date: 2010-12-13 17:28:07 +0100 (Mon, 13 Dec 2010)
New Revision: 1415

Modified:
   pkg/vegan/inst/ChangeLog
   pkg/vegan/man/vegdist.Rd
Log:
fix legends to Gower indices

Modified: pkg/vegan/inst/ChangeLog
===================================================================
--- pkg/vegan/inst/ChangeLog	2010-12-13 13:47:12 UTC (rev 1414)
+++ pkg/vegan/inst/ChangeLog	2010-12-13 16:28:07 UTC (rev 1415)
@@ -4,6 +4,9 @@
 
 Version 1.18-18 (opened December 1, 2010)
 
+	* vegdist.Rd: fixed legends to Gower indices and checked binary
+	formualations (ok).
+
 	* vegan-package.Rd: added a package intro file (to be merged to
 	the release version 1.17-5).
 

Modified: pkg/vegan/man/vegdist.Rd
===================================================================
--- pkg/vegan/man/vegdist.Rd	2010-12-13 13:47:12 UTC (rev 1414)
+++ pkg/vegan/man/vegdist.Rd	2010-12-13 16:28:07 UTC (rev 1415)
@@ -62,17 +62,17 @@
     \cr \tab binary: \eqn{A+B-2J}{A+B-2*J}
     \cr
     \code{gower}
-    \tab \eqn{d_{jk} = (1/N) \sum_i \frac{|x_{ij}-x_{ik}|}{\max x_i-\min
-	x_i}}{d[jk] = (1/N) sum(abs(x[ij]-x[ik])/(max(x[i])-min(x[i])))}
-    \cr \tab binary: \eqn{(A+B-2J)/N}{(A+B-2*J)/N},
+    \tab \eqn{d_{jk} = (1/M) \sum_i \frac{|x_{ij}-x_{ik}|}{\max x_i-\min
+	x_i}}{d[jk] = (1/M) sum(abs(x[ij]-x[ik])/(max(x[i])-min(x[i])))}
+    \cr \tab binary: \eqn{(A+B-2J)/M}{(A+B-2*J)/M},
     \cr
-    \tab where \eqn{N} is the number of rows (excluding missing
+    \tab where \eqn{M} is the number of columns (excluding missing
     values)
     \cr
     \code{altGower}
     \tab \eqn{d_{jk} = (1/NZ) \sum_i |x_{ij} - x_{ik}|}{d[jk] = (1/NZ) sum(abs(x[ij] - x[ik]))}
     \cr
-    \tab where \eqn{NZ} is the number of non-zero rows excluding
+    \tab where \eqn{NZ} is the number of non-zero columns excluding
     double-zeros (Anderson et al. 2006).
     \cr \tab binary: \eqn{\frac{A+B-2J}{A+B-J}}{(A+B-2*J)/(A+B-J)}
     \cr



More information about the Vegan-commits mailing list