tbase | R Documentation |
Generate Truncated Spline Base
tbase(x, iknots, lk, hk, deg = 3)
x |
A vector. |
iknots |
A vector of inner knots. |
lk |
lower boundary knot. |
hk |
higher boundary knot. |
deg |
degree of the splines, default is 3. |
The truncated spline base.
tbase(x=c(0.25,0.35,0.5,0.7),iknots=c(0.2,0.4,0.6,0.8),lk=0,hk=1,deg=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.