Skip to content
Prev 995 / 7420 Next

null models with continuous abundance data

Many thanks Carsten and Peter for your suggestions.

commsimulator indeed respects the two contraints I'm interested in, but
only allows for binary data.

swap.web is *almost* what I need, but only overall matrix fill is kept
constant, whereas I want zeros to move only between rows, not between
both columns and rows. In others words, if the initial data matrix had
three zeros for row 1, permuted matrices should also have three zeros
for that row.

I do not doubt that Peter's suggestions are good, but I'm afraid they
seem a bit overly complicated for my particular problem. All I'm after
is to create n randomly-assembled matrices from an observed species
abundance matrix to compare the observed functional diversity of the
sampling sites to a null expectation. To be conservative, this requires
that I hold species richness constant at each site, and keep row and
column marginals fixed.

Could swap.web or permatswap(..., method = "quasiswap") be easily
tweaked to accomodate this? The only difference really is that matrix
fill should be kept constant *but also* be constrained within rows.

Thanks again for your help.

Etienne

Le 7 janvier 2010 08:17, Peter Solymos <solymos at ualberta.ca> a ?crit :