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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Aug 20 10:08:42 CEST 2010


Author: jarioksa
Date: 2010-08-20 10:08:41 +0200 (Fri, 20 Aug 2010)
New Revision: 1272

Modified:
   pkg/vegan/R/permutest.cca.R
   pkg/vegan/inst/ChangeLog
   pkg/vegan/man/anova.cca.Rd
Log:
permutest.cca uses 99 permutations (was 100)

Modified: pkg/vegan/R/permutest.cca.R
===================================================================
--- pkg/vegan/R/permutest.cca.R	2010-08-20 07:05:04 UTC (rev 1271)
+++ pkg/vegan/R/permutest.cca.R	2010-08-20 08:08:41 UTC (rev 1272)
@@ -5,8 +5,9 @@
     stop("No default permutation test defined")
 
 `permutest.cca` <-
-    function (x, permutations = 100, model = c("reduced", "direct", 
-                                     "full"), first = FALSE, strata, ...) 
+    function (x, permutations = 99,
+              model = c("reduced", "direct", "full"), first = FALSE,
+              strata, ...) 
 {
     model <- match.arg(model)
     isCCA <- !inherits(x, "rda")

Modified: pkg/vegan/inst/ChangeLog
===================================================================
--- pkg/vegan/inst/ChangeLog	2010-08-20 07:05:04 UTC (rev 1271)
+++ pkg/vegan/inst/ChangeLog	2010-08-20 08:08:41 UTC (rev 1272)
@@ -6,6 +6,9 @@
 
 	* New version opened with the release of vegan_1.17-4 on August
 	20, 2010.
+
+	* permustest.cca: defaults to 99 permutations instead of 100 (to
+	be consistent).
 	
 Version 1.18-9 (closed August 20, 2010)
 

Modified: pkg/vegan/man/anova.cca.Rd
===================================================================
--- pkg/vegan/man/anova.cca.Rd	2010-08-20 07:05:04 UTC (rev 1271)
+++ pkg/vegan/man/anova.cca.Rd	2010-08-20 08:08:41 UTC (rev 1272)
@@ -23,7 +23,7 @@
 
 permutest(x, ...)
 
-\method{permutest}{cca}(x, permutations = 100,
+\method{permutest}{cca}(x, permutations = 99,
           model = c("reduced", "direct", "full"),
           first = FALSE, strata, ...)
 }



More information about the Vegan-commits mailing list