add_ggplot_theme_type: Add the type of the ggplot2 elements (i.e. "rect", "line" or...

View source: R/add_ggplot_theme_type.R

add_ggplot_theme_typeR Documentation

Add the type of the ggplot2 elements (i.e. "rect", "line" or "text")

Description

Add the type of the ggplot2 elements (i.e. "rect", "line" or "text")

Usage

add_ggplot_theme_type(.data)

Arguments

.data

Tibble. An object returned by architekter::raw_to_design_tibble()

Value

The same tibble with an extra column with the ggplot2 type (i.e. "rect", "line" or "text").

Examples

data(toy_raw_file_content)

data_design <- toy_raw_file_content %>% 
  raw_to_design_tibble()

data_design %>% 
  add_ggplot_theme_type()

ThinkR-open/swatch documentation built on April 7, 2022, 6:08 p.m.