plot_age_fits_mpd: Plot MPD age fits for an iSCAM model

View source: R/plot-age-fits-mpd.R

plot_age_fits_mpdR Documentation

Plot MPD age fits for an iSCAM model

Description

Plot MPD age fits for an iSCAM model

Usage

plot_age_fits_mpd(
  model,
  gear = 1,
  comp_color = "black",
  comp_point_size = 0.5,
  fit_line_color = "red",
  text_title_size = 12,
  angle_x_labels = FALSE
)

Arguments

model

An iscam model object (class mdl_cls)

gear

The number of the gear to plot

comp_color

Color for the age comp data lines and points

comp_point_size

Size of the age composition points

fit_line_color

Color fot the age fit line

text_title_size

Size of text for the axis titles

angle_x_labels

If TRUE put 45 degree angle on x-axis tick labels

Value

A ggplot2::ggplot() object

See Also

Other Age plotting functions: plot_age_fits_mcmc(), plot_age_resids_boxes_mcmc(), plot_age_resids_mcmc(), plot_age_resids_mpd()


pbs-assess/gfiscamutils documentation built on Oct. 24, 2024, 1:37 p.m.