[Vegan-commits] r567 - in pkg: R man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sun Nov 16 06:05:04 CET 2008
Author: psolymos
Date: 2008-11-16 06:05:04 +0100 (Sun, 16 Nov 2008)
New Revision: 567
Modified:
pkg/R/permatswap.R
pkg/man/permatfull.Rd
Log:
quasiswap for prab mtype added
Modified: pkg/R/permatswap.R
===================================================================
--- pkg/R/permatswap.R 2008-11-16 04:40:58 UTC (rev 566)
+++ pkg/R/permatswap.R 2008-11-16 05:05:04 UTC (rev 567)
@@ -77,7 +77,7 @@
count <- mtype == "count"
if (count) {
method <- match.arg(method, c("swap", "quasiswap"))
- } else {method <- match.arg(method, c("swap", "quasiswap", "tswap"))}
+ } else {method <- match.arg(method, c("swap", "quasiswap", "tswap", "quasiswap"))}
m <- as.matrix(m)
n.row <- nrow(m)
Modified: pkg/man/permatfull.Rd
===================================================================
--- pkg/man/permatfull.Rd 2008-11-16 04:40:58 UTC (rev 566)
+++ pkg/man/permatfull.Rd 2008-11-16 05:05:04 UTC (rev 567)
@@ -35,7 +35,7 @@
\item{hab}{numeric vector or factor with length same as \code{nrow(m)} for grouping rows within strata (habitat classes) for restricted permutations. Unique values or levels are used.}
\item{mtype}{matrix data type, either \code{"count"} for count data, or \code{"prab"} for presence-absence type incidence data.}
\item{times}{number of permuted matrices.}
- \item{method}{character for method used for the swap algorithm (\code{"swap"}, \code{"tswap"}, \code{"backtrack"}) as described for function \code{\link{commsimulator}}. If \code{mtype="count"} only \code{"swap"} is available.}
+ \item{method}{character for method used for the swap algorithm (\code{"swap"}, \code{"tswap"}, \code{"quasiswap"}, \code{"backtrack"}) as described for function \code{\link{commsimulator}}. If \code{mtype="count"} the \code{"quasiswap"} and \code{"swap"} methods are available.}
\item{shuffle}{character, indicating whether individuals (\code{"ind"}), samples (\code{"samp"}) or both (\code{"both"}) should be shuffled, see details.}
\item{burnin}{number of null communities discarded before proper analysis in sequential (\code{"swap", "tswap"}) methods.}
\item{thin}{number of discarded permuted matrices between two evaluations in sequential (\code{"swap", "tswap"}) methods.}
More information about the Vegan-commits
mailing list