plot_creel_data: Plot Creel Data

Description Usage Arguments Value Examples

View source: R/plot.R

Description

Plot Creel Data

Usage

1
2
plot_creel_data(data, am = 0.5, weekend = c("Saturday", "Sunday"),
  holidays = NULL, parameter = "Catch", by = NULL)

Arguments

data

A data.frame containing Date, Period, RodHours and Catch columns.

am

A number indicating the weighting for the AM period (by default 0.5).

weekend

A string indicating the days to be considered weekend.

holidays

A Date vector of weekday holidays that can be treated as weekends.

parameter

A string of the parameter to plot ('Catch' or 'Effort').

by

A character vector of variables to group by.

Value

A ggplot object.

Examples

1
2
3
library(ggplot2)
data(toa_example)
plot_creel_data(toa_example) + ylab("Daily Catch")

poissonconsulting/creelr documentation built on Feb. 11, 2021, 2:22 p.m.