# NOT RUN {
set.seed(123)
# simple function call with the defaults (with condition)
ggstatsplot::ggpiestats(data = datasets::mtcars,
main = am,
condition = cyl)
# simple function call with the defaults (without condition)
ggstatsplot::ggpiestats(
data = datasets::iris,
main = Species
)
# }
Run the code above in your browser using DataLab