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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue May 25 13:16:49 CEST 2010


Author: jarioksa
Date: 2010-05-25 13:16:49 +0200 (Tue, 25 May 2010)
New Revision: 1194

Modified:
   pkg/vegan/R/mantel.R
Log:
mantel had a bug in a part removed in r846 and brought back in r1193

Modified: pkg/vegan/R/mantel.R
===================================================================
--- pkg/vegan/R/mantel.R	2010-05-25 11:13:48 UTC (rev 1193)
+++ pkg/vegan/R/mantel.R	2010-05-25 11:16:49 UTC (rev 1194)
@@ -9,7 +9,7 @@
     variant <- tmp$method
     if (permutations) {
         if (permutations %% 100 == 0)
-            permutatoins <- permutations - 1
+            permutations <- permutations - 1
         N <- attributes(xdis)$Size
         perm <- rep(0, permutations)
         for (i in 1:permutations) {



More information about the Vegan-commits mailing list