bsplines | R Documentation |
B-Splines
bsplines(order = 4, knots, pos)
order |
Order of the splines (4 for cubic) |
knots |
Knots of the splines (in [0, period[) |
pos |
Requested positions (in [0, period[). The rows of the returned matrix will correspond to those positions |
A matrix (len(pos) x len(knots))
s<-bsplines(knots = c(0,.2,.3, .9,.95, 1), pos=seq(0,1,0.01))
matplot(s, type='l')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.