View source: R/mermaid_boxplot.R
MERMAID boxplots
1 2 3 4 5 6 7 8 9 10 11 | mermaid_boxplot(
.data,
group_var,
group_var_string,
compare_var,
compare_var_string,
y_axis_name,
clean_values = TRUE,
clean_values_case = c("title", "sentence"),
replace_dashes = TRUE
)
|
.data |
Sample event data containing mean fish belt biomass, with variables indicated in |
group_var |
Variable to group by, e.g. |
group_var_string |
String version of |
compare_var |
Variable to compare by, e.g. |
compare_var_string |
String version of |
y_axis_name |
Name of the y axis. Internal use only. |
clean_values |
Whether to clean the values in |
clean_values_case |
The desired clean values case (default is "title"). For example, if a value is "invertivore-mobile", title case converts it to "Invertivore Mobile" while sentence case converts it to "Invertivore mobile". If you don't want to replace dashes with spaces (e.g. get "Interivore-Mobile", set |
replace_dashes |
Whether to also remove dashes from values when cleaning them. Defaults to TRUE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.