plot.loess {DAMisc}R Documentation

Plot LOESS curve.

Description

Plots the loess curve of the fitted values against a focal x-variable. .

Usage

## S3 method for class 'loess'
plot(
  x,
  ...,
  ci = TRUE,
  level = 0.95,
  linear = FALSE,
  addPoints = FALSE,
  col.alpha = 0.5
)

Arguments

x

An object of class loess.

...

Other arguments to be passed down to xyplot.

ci

Logical indicating whether point-wise confidence intervals should be included around the fitted curve.

level

The confidence level of the confidence intervals

linear

Logical indicating whether the OLS line should also be included.

addPoints

Logical indicating whether or not points should be added to the figure idtntifying the postion of individual observations.

col.alpha

Value for alpha channel of the RGB color palette.

Details

Plots the fitted loess curve potentially with point-wise confidence bounds.

Value

A plot.

Author(s)

Dave Armstrong


[Package DAMisc version 1.7.2 Index]