Learn R Programming

MCOE (version 0.6.0)

mcoe_theme: Modifies ggplots to use a common theme

Description

Modifies ggplots to use a common theme

Usage

mcoe_theme

Arguments

Value

a `list` of [ggplot] elements to add to a graph

Format

An object of class theme (inherits from ggplot2::theme, gg, S7_object) of length 16.

Examples

Run this code
library(dplyr)
df.example <- dplyr::tribble(~name, ~rate, "Nina",32,"David",65)
g <- ggplot2::ggplot(df.example, ggplot2::aes(name, rate)) + ggplot2::geom_col()
g + mcoe_theme

Run the code above in your browser using DataLab