R/plot_trait_distribution_beeswarm.R
plot_trait_distribution_beeswarm.Rd
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
)
austraits data object
Name of trait to plot
One of dataset_id
, family
specify a group to highlight
add label on y_axis?
if (FALSE) {
austraits %>% plot_trait_distribution_beeswarm("wood_density", "dataset_id", "Westoby_2014")
}