MLE.plot: Recommended single plot of ISD and MLE results

View source: R/plotting.R

MLE.plotR Documentation

Recommended single plot of ISD and MLE results

Description

Gives Figure 2h and 6b of MEE.

Usage

MLE.plot(
  x,
  b,
  confVals = NULL,
  panel = FALSE,
  log.xy = "xy",
  mgpVals = c(1.6, 0.5, 0),
  inset = c(0, -0.04),
  xlim_global = NA,
  ylim_global = NA,
  ...
)

Arguments

x

Vector of data values

b

Estimate of b

confVals

Confidence interval for estimate of b (two-component vector for bounds of confidence interval)

panel

Which panel number for multi-panel plots. "h" gives the method and MLE estimate (as in MEE Figure 2(h)), "b" gives just (b) as in Figure 6(b) and plots confidence interval curves, and NULL gives nothing.

log.xy

Which axes to log, for plot(..., log = log.xy). So "xy" for log-log axes, "x" for only x-axis logged.

mgpVals

mgp values to use, as in plot(..., mgp = mgpVals).

inset

Inset distance for legend

xlim_global

Define global x-axis limits

ylim_global

Define global y-axis limits

...

Further arguments for plot()

Value

Single figure of ISD on log-log plot (or log-linear depending on the options given).

Author(s)

Andrew Edwards


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