Description Usage Arguments Details Value Examples
Generate a continuous habitat suitability function given parameter values and scores.
1 2 |
value |
Vector of parameter values, or a dataframe containing
parameters values in the first column and scores in the second column.
|
score |
Vector of scores assigned to parameter values specified in
|
scoreleft |
the value to be returned when input values are less than
|
scoreright |
the value to be returned when input values are greater
than |
spline.expand |
Add curvature to the habitat suitability curve by
expanding the resolution of |
... |
Additional arguments passed to |
When spline.expand > 1, an interpolating spline is first
fit to the data. In order to ensure that no scores exceed the maximum
score included in score, two separate splines are fit to data below
and above the maximum value of score. The interpolated data are
then approximated again using a linear interpolation to enforce the
extrapolation rules specified by scoreleft and scoreright.
A function representing the habitat suitability curve
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.