# Centered Dot Plots for Nominal Variables

    library(nomiShape)

## Centered Dot Plots

The `centered_dotplot()` function creates a centered dot plot for a nominal variable, ordering categories from the most frequent at the center toward less frequent categories on both sides. Optionally, it can connect points with a line.

    # Example usage of centered_dotplot
    centered_dotplot(mpg, "manufacturer")

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