build.static.ggmap: Build a static map displaying predictions and their related...

Description Usage Arguments Value Author(s)

Description

Build a static map displaying predictions and their related error

Usage

1
2
3
4
build.static.ggmap(gridded.data.df, boundaries.sf, layer.error.bool = FALSE,
  legend.error.bool = FALSE, pretty_breaks.bool = TRUE, title.chr,
  legend.chr, target.chr, target.name, nb_classes.num,
  reverse_pal.bool = TRUE, resolution.chr = NULL)

Arguments

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

Value

a ggplot map object

Author(s)

Loïc Davadan <- ldavadan.github.io


pokyah/geoTools documentation built on May 10, 2019, 1:52 a.m.