Description Usage Arguments References See Also Examples
Plot methods, for chs-related objects.
1 2 3 4 5 6 | ## S3 method for class 'KSpline'
kub.plotf(sf, ..., control.points=FALSE)
## S3 method for class 'KSpline'
kub.linesf(sf, ..., control.points=FALSE)
## S3 method for class 'KSpline'
kub.pointsf(sf, ...)
|
sf |
A KSpline object, which is the superclass of CHS, CHSD and CHSI objects. |
control.points |
If true, plot the control points (for CHS objects), or their corresponding points (for CHSD and CHSI). |
... |
Other arguments. |
Please refer to the help page for chs for background information and references.
chs
1 2 3 4 5 6 7 8 9 10 11 | #control points
cx <- 1:4
cy <- c (-4, -1, 1, 4)
#cubic hermite spline
#(with function object, and default slopes)
f <- chs (cx, cy)
#plot the object
#(with control points)
plot (f, control.points=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.