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

plot.LocallyWeightedPolynomial | R Documentation |

`locally.weighted.polynomial`

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

.

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

`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. |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.