Description Usage Arguments Details Author(s) References See Also
This is the default panel function for 'xyplot.dierckx'.
1 2 3 | panel.dierckx(x, y, newx, newy, knots = NULL, knots.y = NULL, lty = 2,
knot.cex = 1.5, knot.col = "red", knot.fill = "lightgray",
...)
|
x, y |
points to be plotted |
newx, newy |
line to be drawn |
knots |
a vector of x-axis position to mark as interior 'knots' of the spline. |
knots.y |
a vector of y-axis positions corresponding to 'knots'. |
lty |
line type for 'panel.xyplot'. |
knot.cex |
character expansion for plotted knots. |
knot.col |
color to use when plotting the knots |
knot.fill |
'fill' argument passed to 'lpoints' when plotting the knots; see
|
... |
other graphics parameters passed to |
Creates a scatterplot of 'x' and 'y' with a line plot of 'newx' and 'newy', optionally marking the knots at 'knots' and 'knots.y'.
Sundar Dorai-Raj and Spencer Graves
Dierckx, P. (1993) Curve and Surface Fitting with Splines, Oxford Science Publications.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.