[Vegan-commits] r2702 - pkg/permute/inst

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Nov 12 21:22:59 CET 2013


Author: gsimpson
Date: 2013-11-12 21:22:59 +0100 (Tue, 12 Nov 2013)
New Revision: 2702

Modified:
   pkg/permute/inst/TODO.md
Log:
Noticed an issue with numPerms that I need to look into

Modified: pkg/permute/inst/TODO.md
===================================================================
--- pkg/permute/inst/TODO.md	2013-11-12 20:22:28 UTC (rev 2701)
+++ pkg/permute/inst/TODO.md	2013-11-12 20:22:59 UTC (rev 2702)
@@ -61,3 +61,16 @@
    *DONE Completed somewhere, probably when I made observed only work via
    how()*
 
+ * The following example from `shuffleSet()` gives same number of 
+   permutations via `numPerms()` for both designs; should be fewer if 
+   same permutation within each plot.
+   
+        ## 10 random permutations in presence of Plot-level strata
+        plotStrata <- Plots(strata = gl(4,5))
+        CTRL <- how(plots = plotStrata,
+                    within = Within(type = "free"))
+        shuffleSet(20, 10, control = CTRL)
+        ## as above but same random permutation within Plot-level strata
+        CTRL <- how(plots = plotStrata,
+                    within = Within(type = "free", constant = TRUE))
+        shuffleSet(20, 10, CTRL)



More information about the Vegan-commits mailing list