[Vegan-commits] r1408 - pkg/permute/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Dec 11 17:25:14 CET 2010


Author: gsimpson
Date: 2010-12-11 17:25:13 +0100 (Sat, 11 Dec 2010)
New Revision: 1408

Modified:
   pkg/permute/man/allPerms.Rd
Log:
fix most of the final example

Modified: pkg/permute/man/allPerms.Rd
===================================================================
--- pkg/permute/man/allPerms.Rd	2010-12-10 17:47:27 UTC (rev 1407)
+++ pkg/permute/man/allPerms.Rd	2010-12-11 16:25:13 UTC (rev 1408)
@@ -75,17 +75,18 @@
 (tmp <- allPerms(nobs, control = ctrl, observed = TRUE))
 (tmp2 <- allPerms(nobs, control = ctrl))
 
-\dontrun{
-## not currently working...
-## numPerms gives wrong answer...
 ## turn on mirroring
-ctrl$mirror <- TRUE
+ctrl$within$mirror <- TRUE
 numPerms(seq_len(nobs), control = ctrl)
 (tmp3 <- allPerms(nobs, control = ctrl, observed = TRUE))
 (tmp4 <- allPerms(nobs, control = ctrl))
+
+%\dontrun{
 ## prints out details of the permutation scheme as
 ## well as the matrix of permutations
-summary(tmp)
-summary(tmp2)
+% FIXME: uncomment the two lines below when we remove old permute
+% code from vegan and have vegan depend on permute
+##summary(tmp3)
+##summary(tmp4)
+%}
 }
-}



More information about the Vegan-commits mailing list