[Vegan-commits] r2659 - pkg/vegan/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed Nov 6 14:18:20 CET 2013
Author: jarioksa
Date: 2013-11-06 14:18:19 +0100 (Wed, 06 Nov 2013)
New Revision: 2659
Modified:
pkg/vegan/R/permutest.cca.R
Log:
revert r2658: tried to fix an issue that was fixed already in r2655 in permute
Modified: pkg/vegan/R/permutest.cca.R
===================================================================
--- pkg/vegan/R/permutest.cca.R 2013-11-06 13:09:51 UTC (rev 2658)
+++ pkg/vegan/R/permutest.cca.R 2013-11-06 13:18:19 UTC (rev 2659)
@@ -124,7 +124,7 @@
stop("'strata' can be used only with simple permutation or with 'how()'")
if (!is.null(permutations$block))
stop("'strata' cannot be applied when 'blocks' are defined in 'how()'")
- permutations <- update(permutations, plots = Plots(factor(strata)))
+ permutations <- update(permutations, blocks = strata)
}
## now permutations is either a how() structure or a permutation
## matrix. Make it to a matrix if it is "how"
More information about the Vegan-commits
mailing list