study |>
tidyplot(x = treatment, y = score, color = treatment) |>
add_boxplot()
# Changing arguments:
study |>
tidyplot(x = treatment, y = score, color = treatment) |>
add_boxplot(show_whiskers = FALSE)
study |>
tidyplot(x = treatment, y = score, color = treatment) |>
add_boxplot(show_outliers = FALSE)
study |>
tidyplot(x = treatment, y = score, color = treatment) |>
add_boxplot(box_width = 0.2)
study |>
tidyplot(x = treatment, y = score, color = treatment) |>
add_boxplot(whiskers_width = 0.2)
Run the code above in your browser using DataLab