Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: r2dii.plot
Title: Visualize the Climate Scenario Alignment of a Financial Portfolio
Version: 0.5.1.9004
Version: 0.5.1.9005
Authors@R:
c(person(given = "Monika",
family = "Furdyna",
Expand Down
4 changes: 2 additions & 2 deletions R/scale_colour_r2dii.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#' Custom 2DII colour and fill scales
#' Custom PACTA colour and fill scales
#'
#' A custom discrete colour and fill scales with colours from 2DII palette.
#' A custom discrete colour and fill scales with colours from the PACTA palette.
#'
#' @param colour_labels A character vector. Specifies colour labels to use and their
#' order. Run `unique(r2dii.plot:::palette_colours$label)` to see available
Expand Down
4 changes: 2 additions & 2 deletions R/scale_colour_r2dii_sector.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#' Custom 2DII sector colour and fill scales
#' Custom PACTA sector colour and fill scales
#'
#' A custom discrete colour and fill scales with colours from 2DII sector
#' A custom discrete colour and fill scales with colours from the PACTA sector
#' palette.
#'
#' @param sectors A character vector. Specifies sector colours to use and their
Expand Down
4 changes: 2 additions & 2 deletions R/scale_colour_r2dii_tech.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#' Custom 2DII technology colour and fill scales
#' Custom PACTA technology colour and fill scales
#'
#' A custom discrete colour and fill scales with colours from 2DII technology
#' A custom discrete colour and fill scales with colours from the PACTA technology
#' palette.
#'
#' @param sector A string. Sector name specifying a colour palette. Run
Expand Down
2 changes: 1 addition & 1 deletion R/theme_2dii.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#' Complete theme
#'
#' A ggplot theme which can be applied to all graphs to appear according to 2DII
#' A ggplot theme which can be applied to all graphs to appear according to the PACTA
#' plotting aesthetics.
#'
#' @inheritParams ggplot2::theme_classic
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ knitr::opts_chunk$set(
[![R-CMD-check](https://github.com/RMI-PACTA/r2dii.plot/actions/workflows/R.yml/badge.svg)](https://github.com/RMI-PACTA/r2dii.plot/actions/workflows/R.yml)
<!-- badges: end -->

The goal of r2dii.plot is to help you plot 2DII data in an informative,
The goal of r2dii.plot is to help you plot PACTA data in an informative,
beautiful, and easy way.

## Installation
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ status](https://www.r-pkg.org/badges/version/r2dii.plot)](https://CRAN.R-project
[![R-CMD-check](https://github.com/RMI-PACTA/r2dii.plot/actions/workflows/R.yml/badge.svg)](https://github.com/RMI-PACTA/r2dii.plot/actions/workflows/R.yml)
<!-- badges: end -->

The goal of r2dii.plot is to help you plot 2DII data in an informative,
The goal of r2dii.plot is to help you plot PACTA data in an informative,
beautiful, and easy way.

## Installation
Expand Down
4 changes: 2 additions & 2 deletions man/scale_colour_r2dii.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/scale_colour_r2dii_sector.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/scale_colour_r2dii_tech.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/theme_2dii.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions vignettes/r2dii-plot.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ knitr::opts_chunk$set(
)
```

The goal of r2dii.plot is to help you plot 2DII data in an informative,
The goal of r2dii.plot is to help you plot PACTA data in an informative,
beautiful, and easy way. It is designed to work smoothly with other "r2dii"
packages -- [r2dii.data](https://rmi-pacta.github.io/r2dii.data/),
[r2dii.match](https://rmi-pacta.github.io/r2dii.match/), and
Expand Down Expand Up @@ -307,7 +307,7 @@ plot_techmix(data)

## Styling functions

A number of functions allow you to customize any of your plots using the 2DII style:
A number of functions allow you to customize any of your plots using the PACTA style:

* Use `theme_2dii()` to change the display of non-data content.

Expand All @@ -326,7 +326,7 @@ ggplot(data, aes(x = factor(year), y = production)) +
theme_2dii()
```

* Use `scale_colour_r2dii()` and `scale_fill_r2dii()` to apply the 2DII colour
* Use `scale_colour_r2dii()` and `scale_fill_r2dii()` to apply the PACTA colour
palette (see `?scale_colour_2dii()` to find out what are the available colour
labels).

Expand All @@ -346,7 +346,7 @@ ggplot(data, aes(x = year, y = production, color = metric)) +
```

* Use `scale_colour_r2dii_sector()` and `scale_fill_r2dii_sector()` to apply
the 2DII colour palette for sectors (see `?scale_colour_2dii_sector()` to find
the PACTA colour palette for sectors (see `?scale_colour_2dii_sector()` to find
out what are the available colour labels).

```{r}
Expand All @@ -367,7 +367,7 @@ ggplot(data, aes(x = factor(year), y = production, fill = sector)) +
```

* Use `scale_colour_r2dii_tech()` and `scale_fill_r2dii_tech()` to apply the
2DII colour palette for technologies (see `?scale_colour_2dii_tech()` to find
PACTA colour palette for technologies (see `?scale_colour_2dii_tech()` to find
out what are the available colour labels).

```{r}
Expand Down