DemoBS | R Documentation |
Demonstrate the construction of 4 ordinary cubic B-splines on 8 knots.
DemoBS(uniform = TRUE, clamped = FALSE)
uniform |
if TRUE, place uniform knots; if FALSE, place non-uniform knots. |
clamped |
if TRUE, place clamped boundary knots when |
This function has no returned values.
Zheyuan Li zheyuan.li@bath.edu
require(gps)
## uniform B-splines
DemoBS(uniform = TRUE)
## non-uniform B-splines
DemoBS(uniform = FALSE, clamped = FALSE)
## non-uniform & clamped B-splines
DemoBS(uniform = FALSE, clamped = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.