boxplot.lmr: Boxplots of scaled residuals, by a factor in the model.

Description Usage Arguments

View source: R/boxplot.lmr.R

Description

Boxplots of scaled residuals, split by a factor in the model.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## S3 method for class 'lmr'
boxplot(
  x,
  by,
  jitter.width = 0.1,
  box = TRUE,
  xlab = "",
  ylab = "Scaled residuals",
  main = "",
  size = 3,
  ptcol = "orange",
  boxcol = "blue",
  boxfill = "light blue",
  ...
)

Arguments

x

An object of class 'rlm'.

by

A character string giving the name of a factor in x.

jitter.width

The amount of jittering to do. Defaults to jitter.width = 0.1.

box

Whether to do the boxplot. If the amount of data is small, it might be better to just plot the jittered points. Defaults to box=TRUE.

xlab

Horizontal axis label. Defaults to xlab="".

ylab

Vertical axis label. Defaults to ylab="Scaled residuals".

main

Main title. Defaults to blank.

size

The size of the plot symbols. Defaults to 3.

ptcol

The colour of the residuals on the plot. Defaults to "orange".

boxcol

The colour of the outline of the boxplots. Defaults to "blue".

boxfill

The fill colour of the boxplots. Defaults to "light blue".

...

Additional arguments to boxplot. Not currently used.


harrysouthworth/margarita documentation built on Aug. 19, 2021, 5 a.m.