[Vegan-commits] r2729 - pkg/permute/vignettes
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Nov 21 17:44:06 CET 2013
Author: gsimpson
Date: 2013-11-21 17:44:06 +0100 (Thu, 21 Nov 2013)
New Revision: 2729
Modified:
pkg/permute/vignettes/permutations.Rnw
pkg/permute/vignettes/permute.bib
Log:
small additions and modifications to the vignette
Modified: pkg/permute/vignettes/permutations.Rnw
===================================================================
--- pkg/permute/vignettes/permutations.Rnw 2013-11-21 16:43:34 UTC (rev 2728)
+++ pkg/permute/vignettes/permutations.Rnw 2013-11-21 16:44:06 UTC (rev 2729)
@@ -286,7 +286,15 @@
How \code{Within()} is used has already been encountered in earlier sections of this vignette; the function is used to supply a value to the \code{within} argument of \code{how()}. You may have noticed that all the arguments of \code{Within()} have default values? This means that the user need only supply a modified value for the arguments they wish to change. Also, arguments that are not relevant for the type of permutation stated are simply ignored; \code{nrow} and \code{ncol}, for example, could be set to any value without affecting the permutation design if \code{type != "grid"}\footnote{No warnings are currently given if incompatible arguments are specified; they are ignored, but may show up in the printed output. This infelicity will be removed prior to \pkg{permute} version 1.0-0 being released.}.
\subsubsection{Permuting samples at the Plot level}
+Permutation of samples at the \emph{plot} level is configured via the \code{Plots()} function. As with \code{Within()}, \code{Plots()} is supplied to the \code{plots} argument of \code{how()}. \code{Plots()} takes many of the same arguments as \code{Within()}, the two differences being \code{strata}, a factor variable that describes the grouping of samples at the \emph{plot} level, and the absence of a \code{constant} argument. As the majority of arguments are similar between \code{Within()} and \code{Plots()}, I will not repeat the details again, and only describe the \code{strata} argument
+\begin{description}
+ \item[\code{strata}]
+ a factor variable. \code{strata} describes the grouping of samples at the \emph{plot} level, where samples from the same \emph{plot} are take the same \emph{level} of the factor.
+\end{description}
+
+When a \emph{plot}-level design is specified, samples are never permuted between \emph{plots}, only within plots if they are permuted at all. Hence, the type of permutation \emph{within} the \emph{plots} is controlled by \code{Within()}. Note also that with \code{Plots()}, the way the individual \emph{plots} are permuted can be from any one of the four basic permutation types; \code{"none"}, \code{"free"}, \code{"series"}, and \code{"grid"}, as described above. To permute the \emph{plots} only (i.e. retain the ordering of the samples \emph{within} plots), you need to use \code{Within(type = "none", ...)} as the default in \code{Within()} is \code{type = "free"}. The ability to permute the plots whilst preserving the within-plot ordering is an impotant feature in testing explanatory factors at the whole-plot level in split-plot designs and in multifactorial analysis of variance \citep{canoco5manual}.
+
\section*{Computational details}
<<seesionInfo, results=tex>>=
toLatex(sessionInfo())
Modified: pkg/permute/vignettes/permute.bib
===================================================================
--- pkg/permute/vignettes/permute.bib 2013-11-21 16:43:34 UTC (rev 2728)
+++ pkg/permute/vignettes/permute.bib 2013-11-21 16:44:06 UTC (rev 2729)
@@ -16,3 +16,11 @@
edition = {3rd}
}
+ at Manual{canoco5manual,
+ title = {Canoco Reference Manual and User's Guide: Software for Ordination (Version 5.0)},
+ OPTauthor = {ter Braak, C.J.F. and \v{S}milauer, P.},
+ OPTorganization = {Microcomputer Power},
+ OPTaddress = {Ithaca, NY, USA},
+ OPTyear = {2012}
+}
+
More information about the Vegan-commits
mailing list