iphc_get_calc_plot_orig: Get data, do calculations and plot longest series for the...

View source: R/calc-iphc-ser.R

iphc_get_calc_plot_origR Documentation

Get data, do calculations and plot longest series for the IPHC survey - original used for first gfsynopsis report.

Description

Get data, do calculations and plot longest series for the IPHC survey for a given species. Will take a while since queries GFbio (and need to be on DFO network). WON'T CURRENTLY WORK AS plot_iphc_index() won't currently work (we previously had everything in just gfplot). See iphc_get_calc_plot() to use separately, then move this and plot_iphc_index to use gfsynopsis (Issue 140 in gfsynopsis).

Usage

iphc_get_calc_plot_orig(sp)

Arguments

sp

Species names (as used in gfdata and gfplot).

Value

For the given species, list containing

iphc_set_counts_sp: list returned from calc_iphc_full_res()

iphc_set_counts_sp_format: just the longest series, returned from format_iphc_longest() with calculations and formatting to match that of other surveys

g_iphc_index: plot of just the iphc data (useful for testing all species) providing there are some data


pbs-assess/gfiphc documentation built on July 4, 2023, 1:13 p.m.