errorPlot_fields: Plot HIP errors by field

View source: R/errorPlots.R

errorPlot_fieldsR Documentation

Plot HIP errors by field

Description

Create a bar plot of proportion of error per field. The plot defaults to all 49 states, but location can be specified.

Usage

errorPlot_fields(x, loc = "all", year, youth = FALSE)

Arguments

x

A proofed data table created by proof

loc

The location that errors should be plotted for. Acceptable values include:

  • all - All states, provinces, and/or territories that exist in the data

  • A specific state represented by one of the following abbreviations:

    • AL, AK, AZ, AR, CA, CO, CT, DE, DC, FL, GA, ID, IL, IN, IA, KS, KY, LA, ME, MD, MA, MI, MN, MS, MO, MT, NE, NV, NH, NJ, NM, NY, NC, ND, OH, OK, OR, PA, RI, SC, SD, TN, TX, UT, VT, VA, WA, WV, WI, WY

year

The year in which the HIP data were collected.

youth

Optional. If set to TRUE, will plot youth hunters in addition to normal birth date errors.

Author(s)

Abby Walter, abby_walter@fws.gov

References

https://github.com/USFWS/migbirdHIP


USFWS/migbirdHarvestData documentation built on Feb. 12, 2024, 4:38 p.m.