ce_funs | R Documentation |
Colonisation and extinction functions
ce_linear(parm)
ce_constant(scale, nr)
ce_gaussian(location, breadth, scale)
scale |
Height of the col/ext function |
nr |
Number of resource dimensions |
location |
Location optimum for functions with an optimum |
breadth |
Breadth of the function (e.g., standard deviation or vcv matrix for gaussian) |
x |
Niche axis matrix; input for c/e functions; one row per site, one column per axis |
Colonisation/extinction functions take a number of forms. Each form has its own set of parameters that are provided when the function is created (e.g., when creating a species). These functions represent the niche of a species, so the parameters are fixed.
Note that these functions expect an input matrix in terms of niche axes not resources. If
(e.g. for ratio niches) transformations are used, they must be applied before calling these
functions. For a higher-level function that accepts resource state as input, see f_niche()
.
For c/e functions, a vector of colonisation/extinction rates with length == nrow(x)
For all others, a c/e function of the desired form
fun = ce_linear(parm=list(a=0, b = 1))
R = seq(0,1,0.1)
fun(R)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.