DemoSpl | R Documentation |
Demonstrate cubic spline and its B-spline representation.
DemoSpl(uniform = TRUE)
uniform |
TRUE for uniform knots and FALSE for non-uniform knots. |
A list giving domain knots, B-spline coefficients and piecewise polynomial coefficients.
Zheyuan Li zheyuan.li@bath.edu
require(gps.mgcv)
## cubic spline with uniform knots
DemoSpl(uniform = TRUE)
## cubic spline with non-uniform knots
DemoSpl(uniform = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.