powered by
Similar to bbase_D, but sped up for single time points.
bbase_singletime(x, xl = min(x), xr = max(x), nseg = 10, bdeg = 3)
A vector containing the basis
The value for which the basis is to be evaluated (ONLY SINGLE VALUE ALLOWED)
The left boundary of the domain
The right boundary of the domain
The number of inter-knot segments on the domain
The degree of the B-splines (2 means quadratic, 3 means cubic, and so on)
x = 0.02 B = bbase_singletime(x, 0, 1, 20, 3)
Run the code above in your browser using DataLab