Plot a map of predicted surface.

PrintMap(.model, .ras, plot = TRUE, points = TRUE, dir = NULL,
  filename = NULL, size = c(480, 480), res = 72, ...)

Arguments

.model
Internal parameter, do not use in the workflow function. .model is list of a data frame (data) and a model object (model). .model is passed automatically in workflow, combining data from the model module(s) and process module(s), to the output module(s) and should not be passed by the user.
.ras
Internal parameter, do not use in the workflow function. .ras is a raster layer, brick or stack object. .ras is passed automatically in workflow from the covariate module(s) to the output module(s) and should not be passed by the user.
plot
If TRUE the plot will be displayed in the device
points
If TRUE the training points will be plotted over the prediction surface
dir
Directory where plots are saved. If both dir and filename are NULL (default) then plots are not saved.
filename
The name to be given to the output as a character, don't include a file extension. If both dir and filename are NULL (default) then plots are not saved.
size
A vector containing the width and height of the output figure when writing to a png file. Example: c(800,600).
res
The output resolution in ppi when writing to a png file.
...
Parameters passed to sp::spplot, useful for setting title and axis labels e.g. xlab = 'Axis Label', main = 'My Plot Title'

Value

A Raster object giving the probabilistic model predictions for each cell of covariate raster layer

Version

1.1

See also

Other output: Appify, InteractiveCovariateMap, InteractiveMap, NoOutput, PerformanceMeasures, PredictNewRasterMap, ROCcurve, ResponseCurveViz, ResponseCurve, SameTimePlaceMap, SeparatePA, SurfaceMap, VariableImportance

Author

ZOON Developers, James Campbell, zoonproject@gmail.com