Description Usage Arguments Value
Generate sampling distributions from settle.hab vectorized across parameterizations. Allows settle.hab to be iterated reps number of times across multiple parameterizations of A.coef.
1 |
p.mat |
The probability matrix passed to prob.sel. Typically the output from 'convert.cell'. Passed to 'settle.hab' |
hab.mat |
The matrix containing the "grown" habitats enumerated by the strength of preference (e.g., the output from pref.strength, not convert.cell). Passed to 'settle.hab' |
reps |
Number of model runs to simulate (each run conisting of 'n.individ' number of individuals settling) |
n.individ |
The number of individuals to simulate for a single model run. Passed to 'settle.hab'. |
A.coef |
The habitat preference parameter vector . This is the "key" that allows the function to interpret each cell of the matrix as either "Habitat A" or "Habitat B". Passed to settle.hab. |
... |
Additional arguments as necessary. |
Returns a list, each entry of which is the output of 'reps' number of iterations of 'settle.hab' (if vectorized, for a a single parameterization).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.