View source: R/plot_emission_intensity.R
plot_emission_intensity | R Documentation |
Create an emission intensity plot
plot_emission_intensity(data, span_5yr = FALSE, convert_label = identity)
data |
A data frame. Requirements:
|
span_5yr |
Logical. Use |
convert_label |
A symbol. The unquoted name of a function to apply to y-axis labels. For example:
|
An object of class "ggplot".
sda.
# `data` must meet documented "Requirements" data <- subset(sda, sector == "cement" & region == "global") plot_emission_intensity(data) # plot with `qplot_emission_intensity()` parameters plot_emission_intensity( data, span_5yr = TRUE, convert_label = to_title )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.