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

## ----setup, include=FALSE-----------------------------------------------------
library(nomiShape)
library(dplyr)      # <- REQUIRED
library(ggplot2)

## ----shape-comp-plot-example-1------------------------------------------------
# Example usage of shape_comp_plot
shape_comp_plot(categories, "animal")

## ----shape-comp-plot-example-2------------------------------------------------
# Example usage of shape_comp_plot
shape_comp_plot(categories2, "animal")

## ----shape-comp-plot-example-3------------------------------------------------
# Example usage of shape_comp_plot
shape_comp_plot(categories3, "animal")

## ----shape-comp-plot-example-4------------------------------------------------
# Example usage of shape_comp_plot
shape_comp_plot(starwars, "species")

