fish_catch: Fish Catch Function

View source: R/fish_catch.R

fish_catchR Documentation

Fish Catch Function

Description

This function takes a vector of fish names and returns the most common fish, rarest fish, and total number of fish caught.

Usage

fish_catch(fish)

Arguments

fish,

a vector of fish species (names)

Value

list with the following items

most_common

Name of the most frequently caught species

rarest

Name of the least frequently caught species

total

Total number of fish caught

Author(s)

Sydney Rilum


sydneyrilum/sydpackage documentation built on March 19, 2022, 7:25 a.m.