Description Usage Arguments Value Examples
View source: R/mipplot_point.R
The function arguments include the input dataframe, labels for the plot/axes/legend, and faceting dimensions
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
D |
A dataframe of IAMC data in tibble format to produce plots. |
region |
A list of regions. |
variable |
A list of variables. |
target_year |
A list of target years. |
colorby |
An axis for color setting. |
shapeby |
An axis for shape setting. |
xby |
An axis for x locating setting. |
facetby |
facetby. |
facet_x |
facet_x. |
facet_y |
facet_y. |
fontsize |
font size. |
PRINT_OUT |
set TRUE to generate PDF image. |
DEBUG |
set TRUE to show debug messages. |
A list of point plots.
1 2 3 4 5 6 | library(dplyr)
data_subset <- ar5_db_sample_data %>%
filter(variable == "Emissions|CO2|Land Use") %>%
filter(model %in% c("AIM-Enduse 12.1", "GCAM 3.0", "IMAGE 2.4")) %>%
filter(period == 2100) %>% filter(region == "OECD90")
mipplot_point(data_subset)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.