compare: Compare daily data and season Harvest Survey data

View source: R/compare.R

compareR Documentation

Compare daily data and season Harvest Survey data

Description

The compare function takes 2 data tables (daily_data and season_data) to plot 3 data fields (bag size, number of birds retrieved, number of days hunted) and breaks those data into 4 groups: season submitted, daily submitted, season non-submit, and daily non-submit.

Usage

compare(daily_data, season_data, type = "line", ylim = NA)

Arguments

daily_data

Daily data table

season_data

Season data table

type

Default is "line"

  • "line" - returns a scatter plot with lines to visualize the relationship between number of birds retrieved and number of days spent hunting when data are divided into 4 submission groups

  • "days" - returns the distribution of number of days hunted per submission group; bubbles represent number of birds retrieved and red lines indicate mean values

  • "retrieved" - returns the distribution of number of birds retrieved per submission group; bubbles represent number of birds retrieved and red lines indicate mean values

ylim

Optional value to be supplied if an outlier stretches the y-axis; defaults to NA

Author(s)

Abby Walter, abby_walter@fws.gov

References

https://github.com/USFWS/migbirdHS


USFWS/migbirdMBHS documentation built on Feb. 20, 2024, 4:49 a.m.