## ----include = FALSE----------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

## ----setup--------------------------------------------------------------------
library(nomiShape)

## -----------------------------------------------------------------------------
centered_barplot(mpg, "manufacturer")

## -----------------------------------------------------------------------------
centered_barplot(starwars, "species", scale = "percent")

