study |>
tidyplot(x = treatment, y = score, color = treatment) |>
add_data_points_beeswarm()
study |>
tidyplot(x = group, y = score, color = dose) |>
add_mean_bar()
# Change plot area size
study |>
tidyplot(x = treatment, y = score, color = treatment,
width = 35, height = 35) |>
add_data_points_beeswarm()
# Change dodge_width
study |>
tidyplot(x = group, y = score, color = dose, dodge_width = 0.3) |>
add_mean_bar()
Run the code above in your browser using DataLab