Description Usage Arguments Details Value Author(s)
dshm_plot
plots prediction grids, makes easier changing scale colours and intervals, provides the possibility to save the grid as a .shp file.
1 2 3 4 |
prediction |
Predictions for each grid cell in the prediction grid. |
grid |
Grid as SpatialPolygonsDataFrame. |
probability |
If |
sightings |
sighting dataframe with at least three columns:
|
plot_title |
Title of the plot. |
scale_col |
Vector with colour scale values. Length should correspond to the length of 'scale_val'. |
scale_lim |
Vector for lower and upper limits of the colour scale. |
scale_val |
Vector for the scale values corresponding to colour transition as defined in 'scale_col'. |
cex |
Size of the pixels in the map (visualization purpose only, for true scaled spatial map save as raster). |
saveRaster |
If |
raster_name |
Name of the saved raster. |
resolution |
Raster resolution. |
For more information about fitting Hurdle models, plotting model predictions and much more you can download the fitting_Hurldle.pdf tutorial.
Prediction map and raster image (if saveRaster = TRUE
).
Filippo Franchini filippo.franchini@outlook.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.