FishPortPrice: Function that takes as two inputs 1) a table that has prices...

Description Usage Arguments Value

View source: R/FishPortPrice.R

Description

Function that takes as two inputs 1) a table that has prices for different fish

Usage

1
FishPortPrice(df1, df2)

Arguments

df1

the table with fish name and proce 2) a table that has the number caught for each fish species for each location

df2

The table with fish name and fish caught per location Data table requriements : each location is in a different column and each fish is in a different row Function Output

Value

Port Names and Highest number of fish caught per location

rowPriceLocTot : total revenue for each location

rowPriceLocTotalAll : total fisheries revenue sum

if user requests it graph of revenue by location and total revenue (as text)


anurooba/Assginment5_Package documentation built on May 20, 2019, 11:13 a.m.