SizeSourcePoolDraw Size Overlap Randomization Algorithm
Function to randomize body sizes by drawing species from a user-defined source pool. Species are drawn without replacement, and there is a specified probability vector for the source pool species
1 2 3
a vector of observed body sizes.
a vector of body sizes of species in the user-defined pool of potential colonists.
a vector of relative colonization weights of length 'sourcePool'.
Returns a vector of body sizes of an assemblage randomly drawn from a user-defined source pool.
Although delineating a source pool of species and estimating their relative colonization probabilities is difficult, this is the most realistic approach to constructing a null distribution.
Strong, D.R. Jr., L.A. Szyska, and D. Simberloff. 1979. Tests of community-wide character displacement against null hypotheses. Evolution 33: 897-913. Schluter, D. and P.R. Grant. 1984. Determinants of morphological patterns in communities of Darwin's finches. American Naturalist 123: 175-196.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.