panel.dierckx: Panel function for xyplot.dierckx

Description Usage Arguments Details Author(s) References See Also

Description

This is the default panel function for 'xyplot.dierckx'.

Usage

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",
              ...)

Arguments

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

...

other graphics parameters passed to lpoints and panel.xyplot.

Details

Creates a scatterplot of 'x' and 'y' with a line plot of 'newx' and 'newy', optionally marking the knots at 'knots' and 'knots.y'.

Author(s)

Sundar Dorai-Raj and Spencer Graves

References

Dierckx, P. (1993) Curve and Surface Fitting with Splines, Oxford Science Publications.

See Also

concon, spline, smooth.spline


DierckxSpline documentation built on May 2, 2019, 6:30 p.m.