Closed gowachin closed 3 years ago
I've just noticed the same thing and came here to ask this exact question (picante 1.8.2)
richness = t(replicate(runs, mpd(randomizeMatrix(samp, null.model = "richness"), dis, abundance.weighted))), sample.pool = t(replicate(runs, mpd(randomizeMatrix(samp, null.model = "richness"), dis, abundance.weighted))),
Hi, sorry for the slow reply. You are correct that these two null models are actually doing the same thing. The reason for presenting them as separate options is for historical reasons - in the literature, there were studies that aimed to randomize communities while maintaining richness ("richness"), or that aimed to randomize communities while drawing the same number of species from the sample pool ("sample.pool"). However, these two null models are ultimately doing exactly the same thing. I will modify the text in the help file to be clearer about this, thanks for your suggestions.
Hello,
I need to use
ses.mpd
function with minor modifications. To do so, I looked at the function and I have a question about the null model in the switch part ofses.mpd
(I noted it's the same forses.pd
andses.mntd
).What is the difference between the
richness
and thesample.pool
null model, as its the same code in both cases ?It's said to be different in the help.
After tests, I assume the
richness
null.model does what is described in the help, but not thesample.pool
option.I have the 1.8.1 version of picante installed from CRAN.
Maxime Jaunatre