Package 'tracetheme'

Title: A 'ggplot2' Theme and Scale Using 'Epiverse-TRACE' Visual Style
Description: A 'ggplot2' theme and scale using 'Epiverse-TRACE' visual style, colour scheme, and visualisation guidelines.
Authors: Hugo Gruson [aut, cre] , The Epiverse-TRACE team [aut, cph]
Maintainer: Hugo Gruson <[email protected]>
License: MIT + file LICENSE
Version: 0.1.0.9000
Built: 2024-09-15 04:17:16 UTC
Source: https://github.com/epiverse-trace/tracetheme

Help Index


Epiverse-TRACE default plotting dimensions for slides

Description

Epiverse-TRACE default plotting dimensions for slides

Usage

slide_dim

Format

slide_dim

A list with 2 elements:

slide_height

A single numeric for the height of slide figures.

slide_width

A single numeric for the width of slide figures.


A custom ggplot2 theme for Epiverse-TRACE packages and projects

Description

A custom ggplot2 theme for Epiverse-TRACE packages and projects

Usage

theme_trace()

Value

A ggplot2 theme object

Examples

library(ggplot2)
showtext::showtext_auto()

ggplot(mtcars, aes(wt, mpg)) +
  geom_point() +
  labs(title = "Fuel economy declines as weight increases") +
  theme_trace()

Epiverse-TRACE default plotting dimensions for vignettes

Description

Epiverse-TRACE default plotting dimensions for vignettes

Usage

vignette_dim

Format

vignette_dim

A list with 2 elements:

vig_height

A single numeric for the height of vignette figures.

vig_width

A single numeric for the width of vignette figures.