F_2_panel.spline | R Documentation |
A predefined panel function that can be used to add a spline smooth based on the provided data.
panel.spline(x, y, npoints = 101,
lwd = plot.line$lwd,
lty = plot.line$lty,
col, col.line = plot.line$col,
type,
horizontal = FALSE, ...,
keep.data = FALSE,
identifier = "spline")
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.