plot.forwardSearch_regL1 {diagL1}R Documentation

Forward Search in Linear L1 Models

Description

This function plots the results of a forward search in linear L1 models.

Usage

## S3 method for class 'forwardSearch_regL1'
plot(
  x,
  type.plot = 1:5,
  squared = FALSE,
  scaled = FALSE,
  ylim = NULL,
  xlim = NULL,
  th.Res = 2,
  th.Lev = 0.25,
  sig.Tst = 2.58,
  labels.in.plot = TRUE,
  ...
)

Arguments

x

a "forwardSearch_regL1" object.

type.plot

select which plots to draw, by default all. Each graph is addressed by an integer:

  1. scaled residuals

  2. minimum deletion residuals

  3. coefficients

  4. statistics

  5. MAE (Mean Absolute Error) values

squared

logical, if TRUE plots squared residuals.

scaled

logical, if TRUE plots scaled coefficient estimates.

ylim

a two component vector for the min and max of the y axis.

xlim

a two component vector for the min and max of the x axis.

th.Res

numerical, a threshold for labelling the residuals.

th.Lev

numerical, a threshold for labelling the leverages.

sig.Tst

numerical, a value (on the scale of the t statistics) used to draw the confidence interval on the plot of the t statistics.

labels.in.plot

logical, if TRUE units are labelled in the plots when required.

...

additional arguments.

Value

No return value, just plots the results of a forward search in linear L1 models.

See Also

forwardSearch_regL1 for apply forward search in linear L1 regression model.

Examples



# applies the forward search approach to robust analysis in a linear L1 model
mod = forwardSearch_regL1(Concentration ~ Age, data = bile)
plot(mod, 1)


[Package diagL1 version 1.0.0 Index]