Learn R Programming

api2lm (version 0.2)

arg_check_dfbeta_plot: Check arguments of dfbeta_plot

Description

Check arguments of dfbeta_plot

Usage

arg_check_dfbeta_plot(
  model,
  id_n,
  regressors,
  add_reference,
  text_arglist,
  abline_arglist,
  extendrange_f
)

Arguments

model

A fitted model object from the lm function.

id_n

The number of points to identify with labels. The default is 3.

add_reference

A logical value indicating whether a reference line should be added. The default is TRUE.

text_arglist

Additional arguments passed to the text function, which is used to display the points that are identified.

abline_arglist

A named list specifying additional arguments passed to the abline function for the horizontal reference line added to the plot.

extendrange_f

Positive number(s) specifying the fraction by which the range of the residuals should be extended using the extendrange function. If longer than one, f[1] is used on the left and f[2] on the right.