[Vegan-commits] r291 - in pkg: R inst
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Mar 29 15:54:54 CET 2008
Author: gsimpson
Date: 2008-03-29 15:54:53 +0100 (Sat, 29 Mar 2008)
New Revision: 291
Modified:
pkg/R/permuted.index2.R
pkg/inst/ChangeLog
Log:
permuted.index2 not returning proper sample indices for grid designs within strata
Modified: pkg/R/permuted.index2.R
===================================================================
--- pkg/R/permuted.index2.R 2008-03-27 14:06:10 UTC (rev 290)
+++ pkg/R/permuted.index2.R 2008-03-29 14:54:53 UTC (rev 291)
@@ -66,11 +66,11 @@
FALSE, NULL))],
"series" = permuted.series(gr,
mirror = control$mirror, start = start),
- "grid" = permuted.grid(nrow = control$nrow,
+ "grid" = gr[permuted.grid(nrow = control$nrow,
ncol = control$ncol,
mirror = control$mirror,
start.row = start.row,
- start.col = start.col)
+ start.col = start.col)]
)
}
}
Modified: pkg/inst/ChangeLog
===================================================================
--- pkg/inst/ChangeLog 2008-03-27 14:06:10 UTC (rev 290)
+++ pkg/inst/ChangeLog 2008-03-29 14:54:53 UTC (rev 291)
@@ -4,6 +4,9 @@
Version 1.12-7 (opened Mar 25, 2008)
+ * permuted.index2: was not returning correct sample indices
+ for grid designs within strata.
+
* screeplot: functions return now invisibly the xy.coords of
bars or points for eigenvalues. They used to return
invisibly the input data ('x'). Concerns screeplot methods for
More information about the Vegan-commits
mailing list