[Vegan-commits] r543 - in pkg: inst man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Nov 2 05:51:34 CET 2008


Author: psolymos
Date: 2008-11-02 05:51:33 +0100 (Sun, 02 Nov 2008)
New Revision: 543

Modified:
   pkg/inst/ChangeLog
   pkg/man/permatfull.Rd
Log:
permatfull doc changed


Modified: pkg/inst/ChangeLog
===================================================================
--- pkg/inst/ChangeLog	2008-11-02 04:41:49 UTC (rev 542)
+++ pkg/inst/ChangeLog	2008-11-02 04:51:33 UTC (rev 543)
@@ -4,6 +4,9 @@
 
 Version 1.16-4 (opened November 1, 2008)
 
+    * permatfull: when both cells and individuals are shuffled,
+    the matrix fill remains constant.
+
 	* nesteddisc: replaced with a new function that orders tied
 	columns to minimize the discrepancy statistic. If there are <=7
 	tied columns, all upto 5040 permutations are inspected, and if
@@ -51,7 +54,7 @@
 	cross-validatory Beals of Munzbergova & Herben (Oikos 104,
 	408-414; 2004) plus many new options of unbiasing estimates. 
 
-	* permatfull: bug of row/col marins is fixed, shuffle argument is
+	* permatfull: bug of row/col margins is fixed, shuffle argument is
 	added to enable individual and sample based randomisation of count
 	data (or both) when not all the margins are fixed.
 

Modified: pkg/man/permatfull.Rd
===================================================================
--- pkg/man/permatfull.Rd	2008-11-02 04:41:49 UTC (rev 542)
+++ pkg/man/permatfull.Rd	2008-11-02 04:51:33 UTC (rev 543)
@@ -57,10 +57,9 @@
 algorithms of \code{\link{commsimulator}} are used for \code{"none", "rows", "columns", "both"} values 
 of the \code{fixedmar} argument, respectively 
 
-The \code{shuffle} argument only have effect if the \code{mtype = "count"} and \code{permatfull} function is used with \code{"none", "rows", "columns"} values of \code{fixedmar}. All other cases for count data are individual based randomisations. The \code{"samp"} option results fixed matrix fill. The \code{"both"} option means that samples are shuffled, and individuals are shuffled among non zero cells. This however, not necessarily result in the same matrix fill. Matrix fill can be less than the original if samples bacame empty because of the shuffling of individuals.
+The \code{shuffle} argument only have effect if the \code{mtype = "count"} and \code{permatfull} function is used with \code{"none", "rows", "columns"} values of \code{fixedmar}. All other cases for count data are individual based randomisations. The \code{"samp"} and \code{"both"} options result fixed matrix fill. The \code{"both"} option means that individuals are shuffled among non zero cells ensuring that there are no cell with zeros as a result, than cell (zero and new valued cells) are shuffled.
 
-The function \code{permatswap} is useful when matrix fill (i.e. the proportion of empty cells) should be kept constant.
-\code{permatswap} uses different kinds of swap algorithms, and row and columns sums are fixed in all cases.
+The function \code{permatswap} is useful when bith matrix fill (i.e. the proportion of empty cells) and row/columns sums should be kept constant. \code{permatswap} uses different kinds of swap algorithms, and row and columns sums are fixed in all cases.
 For presence-absence data, the \code{swap} and \code{tswap} methods of \code{\link{commsimulator}} can be used.
 For count data, a special swap algorithm ('swapcount') is implemented that results in permuted matrices with
 fixed marginals and matrix fill at the same time.



More information about the Vegan-commits mailing list