getResponseCurve
calculates the responses for the models that are specified in id
argument, and put the results in a .responseCurve
object. This object can be used as an input in the plot
function, or rcurve
function.
If you just need the response curve graphs (plots), you can put a sdmModels
object directly in the rcurve
function, and do not need to first use getResponseCurve
function.
In getResponseCurve
function (or in rcurve
when x
is sdmModels
), there are some additional arguments:
- size
: a numeric value; default is 100. Specifies the size of the variable sequence that is used as the x-axis in the response curve plot. Greater number results to a smoother curve.
- includeTest
: a logical value; default is FALSE; when a data object based on which a sdmModels is created containing independent test data; it specifies whether those records should be included into the response curve generation or not.
- ...
: additional arguments for the plot
function (e.g., xlab, ylab, main, col, lwd, lty)