Arguments
model
the model for which you want the response curves to be plotted. Compatible with GAM, GBM, GLM, ANN, CTA, RF, FDA and MARS.
Data
the variables for which you want the response curves to be plotted. A data frame is wanted with one column per vriable. They have to have the same names
as the ones used to calibrate the model.
show.variables
give in the column numbers of 'Data' for selecting the variables that are wanted for plotting
save.file
can be set to "pdf", "jpeg" or "tiff" to save the plot. Pdf options can be changed by setting the default values of pdf.options().
name
the name of the file produced if save.file is different to "no" (extensions are already included)
ImageSize
the size of the image in pixels if save.file is different to "no". Affects "jpeg" and "tiff" outputs only. Default if 480 pixels which is the R default.
plot
if TRUE (the default) then a plot is produced. If not, an array containing predictions is returned (see details)