This function create a residual for each observed value and also generates a residual distribution
residual(
x,
y,
labels = NULL,
point = NULL,
is.hline = FALSE,
hline = NULL,
dname = NULL,
facets = NULL,
bloq = NULL,
square_plot = TRUE,
...
)
a residual object
x axis aesthetics
y axis aesthetics
list that contain title,subtitle, axis labels
geom point graphical parameters
logical if TRUE add horizontal line y=0 ( TRUE by default)
geom hline graphical parameters
name of dataset to be used
list
wrap facetting in case of strat.facet
pmxBLOQ
object created by pmx_bloq
square dv_pred plot (TRUE by default)
others graphics arguments passed to pmx_gpar
internal object.
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
plot_pmx.residual