gof_residual: A generic function for residual plots

View source: R/gof.R

gof_residualR Documentation

A generic function for residual plots

Description

A generic function for residual plots

Usage

gof_residual(
  data,
  x,
  y,
  labels = gof_labels(),
  baseplot = gof_baseplot,
  log_x = F,
  ...
)

gof_absresidual(
  data,
  x,
  y,
  labels = gof_labels(),
  baseplot = gof_baseplot,
  log_x = F,
  ...
)

Arguments

data

A data.frame.

x, y

Numeric vectors, evaulated within data.

labels

A named list of labels.

baseplot

A function that returns a ggplot object to use as the base.

log_x

If TRUE then log-scale will be used for the x-axis.

...

Additional arguments, passed to baseplot.

Value

A ggplot object.


certara/ggcertara documentation built on Feb. 28, 2024, 5:01 a.m.