Skip to contents

Bootstrap branding

Utilities to apply branding to R plots

brand_on()
Apply Boostrap brand to new graphic devices
brand_off()
Turn Bootstrap brand off
brand()
Fetch Bootstrap branding
pal.brand()
Bootstrap color palette
brand.colors()
Bootstrap color ramp
thematic_brand()
Thematic-ally apply Bootstrap brand to base, lattice and ggplot2 graphics

Branded base R plots

Opinionated plot customizations

axes()
Bootstrap-branded axis and legend for base R graphics
par.brand()
Set or query graphical parameters for Bootstrap branded plots

Branded ggplot2 scales, axes and legend

Opinionated ggplot2 customizations

ggbrand()
Bootstrap-branded ggplot with custom axis and legend
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
thematic_brand()
Thematic-ally apply Bootstrap brand to base, lattice and ggplot2 graphics
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
Built-in default Bootstrap brand