Description Usage Arguments Value Author(s)
Build a static map displaying predictions and their related error
1 2 3 4 |
gridded.data.df |
A data frame obtained from a SpatialGridDataFrame containing data |
boundaries.sf |
A sf containing data from Wallonia boundaries |
layer.error.bool |
A boolean specifying if you want to display the layer with error |
legend.error.bool |
A boolean specifying if you want to display the legend of the error layer |
pretty_breaks.bool |
A boolean specifying the type of legend you want. TRUE for pretty breaks, FALSE for quantile scale |
title.chr |
A character specifying the title you want for your map |
target.chr |
A character specifying the name of the column containing the predicted parameter. |
target.name |
the type of weather param : tsa, plu, ind_plu, etc... |
nb_classes.num |
A numeric for the number of classes you want |
reverse_pal.bool |
A boolean if you want to reverse color palette. Default is TRUE, which means that 'red' is for high values and 'blue' for low values |
resolution.chr |
A character which specifies the resolution of the map |
a ggplot map object
Loïc Davadan <- ldavadan.github.io
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.