powered by
Constructs a B-spline basis of degree 'deg' (Code by Paul Eilers, Package JOPS, http://statweb.lsu.edu/faculty/marx/JOPS_0.1.0.tar.gz).
bbase(x, xl = min(x), xr = max(x), ndx = 20, deg = 6)
values for the x axis.
minimum value, default is the minimum value of the x-values.
maximum value, default is maximum value of the x-values.
number of intervals to partition the distance between xl and xr.
degree of the B-spline basis.
a B-spline basis of degree deg and ndx + 1 internal knots.
# NOT RUN { x_finegrid <- seq(0.001, 1.0, (1.0 - 0.001) / 1000) bbase(x_finegrid) # }
Run the code above in your browser using DataLab