plotCleaned.Rd
Save several figures to your computer that summarize the composition samples that are available for the given species. None of the figures are meant to be included in the stock assessment document, but rather, are for exploring the data.
plotCleaned(Pdata, savedir = getwd())
A data frame returned from PullBDS.PacFIN()
containing
biological samples. These data are stored in the Pacific Fishieries
Information Network (PacFIN) data warehouse, which originated in 2014 and
are pulled using sql calls.
A file path to the directory where the results will be saved. The default is NULL.
The following figures are saved to savedir
:
PacFIN_comp_Nbystate.png
PacFIN_comp_distributions.png
PacFIN_comp_NbyGRID.png
PacFIN_comp_depth.png
PacFIN_comp_geargroup.png
PacFIN_comp_INPFC.png
PacFIN_comp_lengthvage.png
This function is called by cleanPacFIN and heavily relies on getGearGroup to create gear categories.