# \donttest{
if (require("PMCMRplus")) {
set.seed(123)
library(ggstatsplot)
# in case of group comparisons
p <- ggbetweenstats(mtcars, cyl, mpg)
extract_stats(p)
# the exact details depend on the function
extract_stats(ggbarstats(mtcars, cyl, am))
}
# }
Run the code above in your browser using DataLab