Skip to contents

Plots the output of function check_all_substances()

Usage

plot_hazards(
  hazards,
  title = "",
  xlabels = names(hazards),
  ylabels = names(hazards[[1]])
)

Arguments

hazards

List created by check_all_substances()

title

Optional title

xlabels

Character vector of the same length as Hazards to manually enter x axis labels (-> Substance names)

ylabels

Character vector of the same length as one vector of the Hazards list entry to manually enter y axis labels (-> Landuse names)

Value

Plot with coloured rectangles representing the three different output options from function check_all_substances()