ggPMX (version 0.9.4)

residual: 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, ...)

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

...

others graphics arguments passed to pmx_gpar internal object.

Value

a residual 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 versue AES_Y

  • subtitle: plot subtitle default empty

  • x: x axis label default to AES_X

  • y: y axis label default to AES_Y

See Also

plot_pmx.residual