paper/paper.md

title: 'Vizumap: an R package for visualising uncertainty in spatial data' tags: - R - spatial statistics - visualisation - uncertainty - maps authors: - name: Lydia R. Lucchesi affiliation: "1, 2" - name: Petra M. Kuhnert affiliation: 2 - name: Christopher K. Wikle affiliation: 3 affiliations: - name: Australian National University, Canberra, Australia index: 1 - name: CSIRO Data61, Canberra, Australia index: 2 - name: University of Missouri, Columbia, USA index: 3 date: 3 June 2020 bibliography: paper.bib

Summary

To make a sound data-driven decision, it is necessary to consider the quality and strength of the evidence. Therefore, it is important that the uncertainty of statistical estimates be effectively communicated to decision makers to ensure it is properly considered in the decision-making process. Generally, this uncertainty information is shared through visualisation (e.g., error bars). However, in spatial applications, finding methods that can communicate additional information, about the spatial estimates, in an understandable and meaningful way can be challenging. To address this visualisation shortcoming in spatial statistics, we developed the Vizumap R package. It is a toolkit designed for statisticians, scientists, data journalists, etc., discussing uncertainty in spatial data.

Vizumap contains a series of straightforward functions that can be used to create four different types of maps, which are discussed in detail in @vizMethod and @gbrData. The visualisation methods include the bivariate choropleth map, pixel map, glyph map, and exceedance probability map. Following is a brief description of each method.

Other related R packages include pixelate and biscale. The pixelate package explores the use of pixelation for uncertainty visualisation on isopleth maps [@pixelatePackage], and the biscale package can be used to generate bivariate maps for two variables [@biscalePackage].

A comprehensive vignette that demonstrates how to use Vizumap is available after package installation. The functions are divided into three categories: formatting, building, and viewing. Formatting functions prepare data for use in the building functions, which are used to build the colour palettes, maps, and map keys. Viewing functions are used to check and combine the different graphical objects designed with the building functions. Previous applications of the Vizumap R package include visualising American Community Survey estimates with their corresponding margins of error. We believe Vizumap is useful in a wide range of applications, and we will continue to improve the toolkit to enhance its utility.

As an illustration below, we use Vizumap to visualise estimated pollutant loads of sediment from the upper Burdekin catchment in Queensland, Australia, into the Great Barrier Reef (GBR). The predictions and uncertainties, published in @gbrData, were developed from a Bayesian Hierarchical Model (BHM) that assimilated estimates of sediment concentration and flow with modelled output from a catchment model developed on the upper Burdekin catchment. Development of this modelling strategy is discussed in @gbrMethod. Here we just focus on total suspended sediment (TSS). The export of pollutants from coastal catchments within Australia has important implications for the health of the GBR lagoon, and Vizumap offers a variety of methods for communicating these predictions and uncertainties to catchment managers and policy makers.

Bivariate map

Figure \ref{bivMap} is a bivariate map of the upper Burdekin catchment in Queensland, Australia. It visualises predicted total suspended sediment (TSS) concentrations and prediction uncertainty. In this example, a custom colour palette is created and then used to build the bivariate map and colour key. The bivariate bins are defined using terciles.

Bivariate map and bivariate key for the upper Burdekin catchment in Queensland, Australia, showing the total suspended sediment (TSS) concentration in mg/L.\label{bivMap}{width=4in height=4in}

Pixel map

Figure \ref{pixMap} visualises the uncertainty of TSS predictions, while giving a general idea of estimated TSS concentrations. For a closer look at the pixelation, a subset of regions is included to the right of the map (Figure \ref{pixMap}(B)). The colours filling the pixels in each region were sampled from the estimate's relative frequency distribution. This pixel map can be animated so that the pixels flicker between sampled values. If the map below were to be animated, the areas that appear most pixelated in the static map would, correspondingly, have the most visible movement among pixels in the animated map. Movement among pixels in areas of low uncertainty would be hard to detect due to the minimal differences between the sampled values of orange. An example of an animated pixel map can be found in @vizMethod.

Pixel map showing the TSS concentrations for the upper Burdekin catchment in Queensland, Australia. Figure \ref{pixMap}(B) provides a closer look at the pixelation in five regions from Figure \ref{pixMap}(A). \label{pixMap}{width=4in height=4in}

Glyph map

Figure \ref{glyphMap} depicts estimated TSS concentrations and the uncertainty of these predictions. The colour filling each glyph (located at the region centroid) represents the estimate, and the rotation of the glyph represents the uncertainty.

Glyph map and glyph key showing the TSS predictions and uncertainties for the upper Burdekin catchment in Queensland, Australia.\label{glyphMap}{width=4in height=4in}

Exceedance probability map

In Figure \ref{exceedMap}, the calculated probability of exceeding a sediment concentration greater than 837 mg/L (a threshold of concern discussed in @gbrData) is plotted in order to draw attention to the high-risk regions on the map. These probabilities were calculated from the posterior distributions of a BHM as outlined in @gbrData.

Exceedance probability map showing the probability of exceeding the nominated guideline of 837 mg/L for TSS in the upper Burdekin catchment in Queensland, Australia.\label{exceedMap}{width=4in height=4in}

Acknowledgements

We would like to acknowledge the support and funding from the CSIRO Digiscape Future Science Platform for the second author.

Vizumap was built using the following R packages: ggplot2, animation, broom, dplyr, geoaxe, ggmap, grDevices, gridExtra, maps, maptools, plyr, reshape2, rgdal, rgeos, roxygen2, sp, spbabel, testthat, usethis, and utils.

References



pkuhnert/VizU documentation built on April 29, 2024, 9:31 p.m.