Description Usage Arguments Value Author(s)
This function makes a boxplot of a given color metric across all islands and all habitats. It can save the plot as a PDF file.
| 1 | do_boxplots(specdata, var, filename = NULL, isJitter = F, ...)
 | 
| specdata | A data frame containing the variable to plot. It should have a column "island" and a column "habitat". | 
| var | The name of the variable to plot, as it appears in  | 
| filename | A string. Name of the PDF file in which to save the plot. Does not save PDF if not specified. Can also be a path to the file to be created. Don't forget to add ".pdf" at the end! | 
| isJitter | Logical. Whether to plot jittered points instead of boxplots. Good way to view outliers. | 
A plot.
Raphael Scherrer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.