[Vegan-commits] r1416 - in branches/1.17: inst man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Dec 13 18:18:06 CET 2010
Author: jarioksa
Date: 2010-12-13 18:18:06 +0100 (Mon, 13 Dec 2010)
New Revision: 1416
Modified:
branches/1.17/inst/ChangeLog
branches/1.17/man/vegdist.Rd
Log:
merge r1415 (Gower legend)
Modified: branches/1.17/inst/ChangeLog
===================================================================
--- branches/1.17/inst/ChangeLog 2010-12-13 16:28:07 UTC (rev 1415)
+++ branches/1.17/inst/ChangeLog 2010-12-13 17:18:06 UTC (rev 1416)
@@ -79,6 +79,8 @@
* merged r1407: diffable and updated contribdiv.Rd.
+ * merger r1415: Gower legend fix in vegdist.Rd.
+
* sipoo.rda got row names and decision-vegan.Rnw changed
accordingly in parallel to pkg/vegan devel branch.
Modified: branches/1.17/man/vegdist.Rd
===================================================================
--- branches/1.17/man/vegdist.Rd 2010-12-13 16:28:07 UTC (rev 1415)
+++ branches/1.17/man/vegdist.Rd 2010-12-13 17:18:06 UTC (rev 1416)
@@ -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