Description Usage Arguments Value Author(s) See Also
A predefined panel function that can be used to add a spline smooth based on the provided data.
1 2 3 4 5 6 7 8 |
x, y |
Variables defining the data to be used. |
npoints |
The number of equally spaced points within the range of the predictor at which the fitted model is evaluated for plotting. |
lwd, lty, col, col.line |
Graphical parameters for the added
line. |
type |
Ignored. The argument is present only to make sure that
an explicitly specified |
horizontal |
A logical flag controlling which variable is to be treated as the
predictor (by default |
keep.data |
Passed on to |
... |
Extra arguments, passed on to
|
identifier |
A character string that is prepended to the names of grobs that are created by this panel function. |
The fitted model as returned by smooth.spline
.
Deepayan Sarkar Deepayan.Sarkar@R-project.org
Lattice,
smooth.spline
,
prepanel.spline
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.