Learn R Programming

optiRum (version 0.33)

theme_optimum: Produce an Optimum-standard base chart

Description

This theme builds on the Stephen Few theme from ggthemes to produce a good baseline for charting in R. Gets called as would any typical theme.

Usage

theme_optimum(base_size = 14, base_family = "", ...)

Arguments

base_size
Anchor font size
base_family
Font family to use
...
Allows additional parameters to be passed to further themes

Examples

Run this code
library("ggplot2")
ggplot(data.frame(x=1:10,y=1:10),aes(x,y))+theme_optimum()+geom_line()

Run the code above in your browser using DataLab