locally.weighted.polynomial
.Creates a plot of an object created by locally.weighted.polynomial
.
# S3 method for LocallyWeightedPolynomial
plot(
x,
derv = 0,
CI.method = 2,
alpha = 0.05,
use.ess = TRUE,
draw.points = TRUE,
...
)
LocallyWeightedPolynomial object
Derivative to be plotted. Default is 0 - which plots the smoothed function.
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.
The alpha level such that the CI has a 1-alpha/2 level of significance.
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.
Should the data points be included in the graph? Defaults to TRUE.
Additional arguments to be passed to the graphing functions.