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

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

## ----centered-dotplot-example-------------------------------------------------
# Example usage of centered_dotplot
centered_dotplot(mpg, "manufacturer")

## ----centered-dotplot-connect-------------------------------------------------
# Example with connecting line
centered_dotplot(mpg, "manufacturer", connect = TRUE)

