ISD_bin_plot_nonoverlapping: Recommended plots of individual size distribution and fit for...

View source: R/plotting.R

ISD_bin_plot_nonoverlappingR Documentation

Recommended plots of individual size distribution and fit for binned data with non-overlapping bins

Usage

ISD_bin_plot_nonoverlapping(
  binValsTibble = NULL,
  binBreaks = NULL,
  binCounts = NULL,
  b.MLE,
  b.confMin,
  b.confMax,
  ...
)

Arguments

binValsTibble

tibble of binned data with each row representing a bin and with columns binMin and binMmax (min and max break of each bin) and binCount (count in that bin), as in the binVals component of the output of binData. wmin and wmax can also be used instead of binMin and binMax. Extra columns are ignored.

binBreaks

vector of bin breaks

binCounts

vector of bin counts

b.MLE

maximum likelihood estimate of b (ideally from the MLEbin method)

b.confMin

lower 95\

\item

b.confMaxupper 95\

\item

...further arguments to be passed to ISD_bin_plot() For data in binned form (i.e. bin breaks and counts), plots the individual size distribution and the fit from the MLEbin method (alreadly calculated) with linear and then logarithmic y-axes. This is a simpler version of the recommended plots in Figures 7 and S.5-S.34 of the MEPS paper; simpler because if the bins are not overlapping (i.e. just one set of bin breaks, not differing by species like in Fig. 7) then we do not have the grey boxes, just the horizontal green lines. See vignette MLEbin_recommend.Rmd. Bin breaks and counts are input as EITHER a single tibble binValsTibble with each row representing a bin, OR as vectors binBreaks and binCounts.

This function calls ISD_bin_plot() which is the original one for Fig 7 of MEPS paper. Andrew Edwards


andrew-edwards/sizeSpectra documentation built on June 28, 2023, 7:09 p.m.