View source: R/prep_emission_intensity.R
prep_emission_intensity | R Documentation |
Prepare data for a emission intensity plot
prep_emission_intensity(data, convert_label = identity, span_5yr = FALSE)
data |
A data frame. Requirements:
|
convert_label |
A symbol. The unquoted name of a function to apply to y-axis labels. For example:
|
span_5yr |
Logical. Use |
A data-frame ready to be plotted using plot_emission_intensity()
.
sda.
# `data` must meet documented "Requirements"
data <- subset(sda, sector == "cement" & region == "global")
prep_emission_intensity(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.