Nothing
bbase <-
function(X., XL., XR., NDX., BDEG.) {
# Function for B-spline basis
dx <- (XR. - XL.)/NDX.
knots <- seq(XL. - BDEG.*dx, XR. + BDEG.*dx, by=dx)
P <- outer(X., knots, tpower, BDEG.)
n <- dim(P)[2]
D <- diff(diag(n), diff = BDEG. + 1) / (gamma(BDEG. + 1) * dx ^ BDEG.)
B <- (-1) ^ (BDEG. + 1) * P %*% t(D)
res <- list(B = B, knots = knots)
res
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.