plot.LocallyWeightedPolynomial: Creates a plot of an object created by...

View source: R/locally.weighted.polynomial.R

plot.LocallyWeightedPolynomialR Documentation

Creates a plot of an object created by locally.weighted.polynomial.

Description

Creates a plot of an object created by locally.weighted.polynomial.

Usage

## S3 method for class 'LocallyWeightedPolynomial'
plot(
  x,
  derv = 0,
  CI.method = 2,
  alpha = 0.05,
  use.ess = TRUE,
  draw.points = TRUE,
  ...
)

Arguments

x

LocallyWeightedPolynomial object

derv

Derivative to be plotted. Default is 0 - which plots the smoothed function.

CI.method

What method should be used to calculate the confidence interval about the estimated line. The methods are from Hannig and Marron (2006), where 1 is the point-wise estimate, and 2 is the row-wise estimate.

alpha

The alpha level such that the CI has a 1-alpha/2 level of significance.

use.ess

ESS stands for the estimated sample size. If at any point along the x-axis, the ESS is too small, then we will not plot unless use.ess=FALSE.

draw.points

Should the data points be included in the graph? Defaults to TRUE.

...

Additional arguments to be passed to the graphing functions.


SiZer documentation built on July 10, 2022, 1:05 a.m.