fish_summary: fish_summary

Description Usage Arguments Value Author(s)

View source: R/fish_summary.R

Description

The function takes a vector and find the most common fish, the rarest fish, the total number of fish, and has the option to plot a histogram of the number of each fish type.

Usage

1
fish_summary(name_vec, graph = FALSE)

Arguments

name_vec

vector of fish names

graph

histogram with count of fish types (default = FALSE)

Value

Total number of fish = t, Most common fish = c, Rarest fish = l, Histogram with count of fish types = p

Author(s)

Claudia Flores & Mariano Viz


claudiapflores/garage documentation built on March 18, 2021, 2:38 p.m.