Skip to contents

Bootstrap branding

Utilities to control branding of R plots

brand()
Fetch Bootstrap branding
brand.colors()
Bootstrap color ramp
brand_on()
Apply Bootstrap brand to base, lattice and ggplot2 graphics
pal()
Bootstrap color palette

New ggplot2 geoms and scales

Opinionated ggplot2 customizations

gglabs()
Modified ggplot with Bootstrap branding
scale_brand_cc()
Continuous color scale with Bootstrap colors
scale_brand_cf()
Continuous fill scale with Bootstrap colors
scale_brand_dc()
Discrete color scale with Bootstrap colors
scale_brand_df()
Discrete fill scale with Bootstrap colors
theme_brand()
Bootsrap branded ggplot theme

Utilities

Misc helper functions

curr()
Format currencies
pct()
Format percentages
yday_to_date()
Format yday dates

Boostrap themes

Built-in themes, package datasets, data dictionaries…

BRAND
Default Bootstrap branding for Mel B. Labs