This is the fracwild figure function. Not exported. It is used by NWCTrends_report and inst/doc/report_files/esu_report.Rmd.

The dots are the raw fracwild values, the black line is the smoothed fracwild estimate. For the smoothed fracwild estimates, there is no data sharing across populations.

fracwild_multipanel(
  esu,
  pops,
  fracwild.fit,
  min.year = NULL,
  max.year = NULL,
  show.all = TRUE,
  nwctrends.options = NULL
)

Arguments

esu

The name of the ESU

pops

The population names that will be plotted (populations with too few data are eliminated)

fracwild.fit

fracwild fit returned by trend_fits()

min.year

The x axis minimum.

max.year

The x axis maximum.

show.all

If there is no fracwild data for a population, should that population still have a fracwild plot, which will be blank.

nwctrends.options

A list of plot options to change the appearance (colors, line types, line widths, point types, etc) in the plots. See nwctrends.options for a description of the options. Note, if risk_plot_multipanel() is called from NWCTrends_report() then nwctrends.options has already been set and can be left at NULL in this call.

Value

A plot

Author

Eli Holmes, NOAA, Seattle, USA. eli(dot)holmes(at)noaa(dot)gov