Plots distribution of trait values by a grouping variable using ggbeeswarm package

plot_trait_distribution_beeswarm(
  austraits,
  plant_trait_name,
  y_axis_category,
  highlight = NA,
  hide_ids = FALSE
)

Arguments

austraits

austraits data object

plant_trait_name

Name of trait to plot

y_axis_category

One of dataset_id, family

highlight

specify a group to highlight

hide_ids

add label on y_axis?

Author

Daniel Falster - daniel.falster@unsw.edu.au

Examples

if (FALSE) {
austraits %>% plot_trait_distribution_beeswarm("wood_density", "dataset_id", "Westoby_2014")
}