fish_distribution: fish_distribution

Description Usage Arguments Value Author(s)

View source: R/fish_distribution.R

Description

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.

Usage

1

Arguments

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.

Value

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.

Author(s)

Alex Milward, Leana Goetze, Allison Bailey


AllisonBaileyR14/nature_package documentation built on March 22, 2021, 11:02 p.m.