plot.kinetic: Plot a kinetic class object.

View source: R/OOP.R

plot.kineticR Documentation

Plot a kinetic class object.

Description

Generates a plot of the actual numeric values (type = 'fit'), a plot with the frequency (type = 'frequency', for binomial-family objects) or a series of diagnostic plots of model residuals (type = 'diagnostic').

Usage

## S3 method for class 'kinetic'
plot(
  x,
  type = c("fit", "frequency", "diagnostic"),
  cust_theme = ggplot2::theme_classic(),
  plot_title = NULL,
  plot_subtitle = NULL,
  plot_tag = NULL,
  ...
)

Arguments

x

a kinetic class object.

type

plot type, 'fit' by default.

cust_theme

a ggplot theme.

plot_title

plot title.

plot_subtitle

plot subtitle.

plot_tag

plot tag. If NULL, number or range of complete observations is presented.

...

extra arguments passed to plot_kin_numeric_ (fit plots), plot_kin_fct_ (frequency plots) or get_qc_plots (diagnostic plots).

Value

a ggplot object or a list of ggplot objects.


PiotrTymoszuk/kinet documentation built on June 12, 2022, 7:29 p.m.