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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Jan 26 14:31:00 CET 2009


Author: jarioksa
Date: 2009-01-26 14:31:00 +0100 (Mon, 26 Jan 2009)
New Revision: 673

Modified:
   pkg/vegan/inst/ChangeLog
   pkg/vegan/man/vegdist.Rd
Log:
vegdist help gave Morisita and Horn-Morisita as similarities

Modified: pkg/vegan/inst/ChangeLog
===================================================================
--- pkg/vegan/inst/ChangeLog	2009-01-26 13:07:10 UTC (rev 672)
+++ pkg/vegan/inst/ChangeLog	2009-01-26 13:31:00 UTC (rev 673)
@@ -4,6 +4,9 @@
 
 Version 1.6-10 (openen Jan 20, 2009)
 
+	* vegdist doc: Morisita and Horn-Morisita were given as
+	similarities in the help.
+
 	* ordirgl: fixed wrong warnings in ordirgl(..., type="t"). 
 
 	* kendall.post, kendall.global: knows now all P value adjustment

Modified: pkg/vegan/man/vegdist.Rd
===================================================================
--- pkg/vegan/man/vegdist.Rd	2009-01-26 13:07:10 UTC (rev 672)
+++ pkg/vegan/man/vegdist.Rd	2009-01-26 13:31:00 UTC (rev 673)
@@ -73,9 +73,9 @@
       min(x[ij],x[ik])/(sum x[ik]))}
     \cr
     \code{morisita}
-    \tab \eqn{d_{jk} = \frac{2 \sum_i x_{ij} x_{ik}}{(\lambda_j +
+    \tab \eqn{d_{jk} =  1 - \frac{2 \sum_i x_{ij} x_{ik}}{(\lambda_j +
 	  \lambda_k) \sum_i x_{ij} \sum_i
-	  x_{ik}}}{d[jk] = 2*sum(x[ij]*x[ik])/((lambda[j]+lambda[k]) *
+	  x_{ik}}}{d[jk] =  1 - 2*sum(x[ij]*x[ik])/((lambda[j]+lambda[k]) *
 	sum(x[ij])*sum(x[ik]))}  
     \cr
     \tab where \eqn{\lambda_j = \frac{\sum_i x_{ij} (x_{ij} - 1)}{\sum_i



More information about the Vegan-commits mailing list