residual: This function create a residual for each observed value and...

View source: R/plot-residual.R

residualR Documentation

This function create a residual for each observed value and also generates a residual distribution

Description

This function create a residual for each observed value and also generates a residual distribution

Usage

residual(
  x,
  y,
  labels = NULL,
  point = NULL,
  is.hline = FALSE,
  hline = NULL,
  dname = NULL,
  facets = NULL,
  bloq = NULL,
  square_plot = TRUE,
  ...
)

Arguments

x

x axis aesthetics

y

y axis aesthetics

labels

list that contain title,subtitle, axis labels

point

geom point graphical parameters

is.hline

logical if TRUE add horizontal line y=0 ( TRUE by default)

hline

geom hline graphical parameters

dname

name of dataset to be used

facets

list wrap facetting in case of strat.facet

bloq

pmxBLOQ object created by pmx_bloq

square_plot

square dv_pred plot (TRUE by default)

...

others graphics arguments passed to pmx_gpar internal object.

Details

Some parameters are a list of parameters :

point is a list that contains:

  • shape: default to 1

  • color: default to black

  • size: default to 1

labels is a list that contains:

  • title: plot title default to AES_X versus AES_Y

  • subtitle: plot subtitle default empty

  • x: x axis label default to AES_X

  • y: y axis label default to AES_Y

Value

a residual object

See Also

plot_pmx.residual


ggPMX documentation built on July 9, 2023, 7:45 p.m.