R/view_stack.R
view_stack.Rd
To quickly inspect the SPAMc results, view_stack
shows crop
distribution maps for a selected crop stacking the maps for each farming
system. The maps are visualized using leafletjs,
which makes it possible to select a number of background tiles (e.g.
OpenStreetMap).
view_stack(crop, var, param, viewer = TRUE, polygon = TRUE)
crop | Character. Crop for which the maps are shows. |
---|---|
var | Character. The variable to be plotted. |
param | Object of type |
viewer | Logical. Should the default web browers be used to show the
maps? |
polygon | Logical; should the country polygon be overlayed? |
if (FALSE) view_stack(crop = "maiz", var = "ha", viewer = FALSE, polygon = FALSE)