plot.eda_rline
A plot method for lists of eda_rline
class.
Usage
# S3 method for class 'eda_rline'
plot(
x,
type = "model",
xlab = NULL,
ylab = NULL,
grey = 0.7,
pch = 21,
equal = TRUE,
p.col = "grey50",
p.fill = "grey80",
size = 0.8,
alpha = 0.7,
model = TRUE,
pt3 = TRUE,
fit = TRUE,
...
)
Arguments
- x
Object of class
eda_rline
.- type
Plot type. One of two: "model", "residuals".
- xlab
Custom x-axis label. Defaults to column name.
- ylab
Custom y-axis label. Defaults to column name.
- grey
Grey level to apply to plot elements (0 to 1 with 1 = black).
- pch
Point symbol type.
- equal
Boolean determining if axes lengths should match (i.e. square plot).
- p.col
Color for point symbol.
- p.fill
Point fill color passed to
bg
(Only used forpch
ranging from 21-25).- size
Point size (0-1).
- alpha
Point transparency (0 = transparent, 1 = opaque). Only applicable if
rgb()
is not used to define point colors.- model
Boolean indicating if the resulting model should be added above plot. Only applies to
type = "model"
.- pt3
Boolean indicating if the 3-pt summaries should be added to the plot. Only applies to
type = "model"
.- fit
Boolean indicating if the fitted line should be added to the plot.
- ...
Arguments to be passed to subsequent methods.