Description Usage Arguments Value Author(s)
View source: R/fish_distribution.R
This function reports the total number of fish caught, the most common fish species caught, and the rarest fish species caught from an inputted .txt file listing all fish caught. User can change default settings to "TRUE" to also display a histogram of the number of fish caught per species.
1 | fish_distribution(fish_data, show_plot = FALSE)
|
fish_data |
data frame that lists fish that were caught |
show_plot |
user specifies argument to show histogram. Currently,the default is set at FALSE. |
A fish summary including total number of fish, rarest fish, and most common type of fish. If show_plot is set to TRUE, a histogram of the number of fish caught by species will also be returned.
Alex Milward, Leana Goetze, Allison Bailey
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.