Nothing
#' @rdname assemble
#' @export
assemble.hero_bspline = function(object, x, m = 2,
sparse = TRUE, ...) {
nbasis = object$nbasis
# penalty matrix
P = Matrix::crossprod(diffpen(x = object, m = m, sparse = sparse))
# design matrix
B = predict(object, newx = x, sparse = sparse)
# precompute stuff
precompute(B, P, m = m)
}
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.