[Vegan-commits] r1992 - branches/2.0/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Nov 12 18:57:22 CET 2011


Author: gsimpson
Date: 2011-11-12 18:57:22 +0100 (Sat, 12 Nov 2011)
New Revision: 1992

Modified:
   branches/2.0/R/adonis.R
Log:
manually apply r1991 to 2.0 branch

Modified: branches/2.0/R/adonis.R
===================================================================
--- branches/2.0/R/adonis.R	2011-11-12 17:54:25 UTC (rev 1991)
+++ branches/2.0/R/adonis.R	2011-11-12 17:57:22 UTC (rev 1992)
@@ -97,7 +97,7 @@
                 function(x) permuted.index(n, strata=strata))
 
 
-    tH.s <- sapply(H.s, t)
+    tH.s <- lapply(H.s, t)
     tIH.snterm <- t(I-H.snterm)
     ## Apply permutations for each term
     ## This is the new f.test (2011-06-15) that uses fewer arguments



More information about the Vegan-commits mailing list