| response | R Documentation | 
Evaluation Strip method proposed by Elith et al.(2005),
applied to models created using caret::train.
Here we use the same process as described in biomod2::response.plot2.
response(model, ...) ## S3 method for class 'train' response( model, fixedvarFunction = mean, errorFunction = ci_95, n = 100, progress = FALSE, ... ) ## S3 method for class 'response.train' plot( x, plot_errorbar = TRUE, plot_rugs = TRUE, free_y = TRUE, plot_thr = TRUE, ... )
model | 
 A model returned by   | 
... | 
 ignored  | 
fixedvarFunction | 
 A function used to fix as constant the other variables when the predicting responses.  | 
errorFunction | 
 A function used to calculate error across resamples. Default is 95% confidence interval.
If   | 
n | 
 Number of responses to get for each variable, as in seq(min(variable), max(variable), length.out=n).  | 
progress | 
 logical. Show progress bar?  | 
x | 
 An object returned by   | 
plot_errorbar | 
 logical. Should plot errors? Only valid if   | 
plot_rugs | 
 logical. Should plot rugs representing quantiles?  | 
free_y | 
 logical. Free or fixed y axis in plots?  | 
plot_thr | 
 logical. Should plot a line representing the probability threshold of the model?
A threshold must be set using   | 
An S3 object of class 'response.train', including:
num and factData.tables with responses for each variable of type numeric and factors.
If errorFunction != NULL, responses are means from resamples and errors are also provided.
num_resample and fact_resampleData.tables with responses for each resample,
only provided if errorFunction != NULL.
quantilesA matrix with quantiles for each variable used to plot rugs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.