Nothing
#' @importFrom spam bdiag.spam
# utility to calculate the block diagonal penalty matrices for spline penalisation
get_block_penalty<-function(P, blockzero, i){
blockzero[[i]] <- P
b.diag <- function(L){
diag.spam <- L[[1]]
for(j in 2:length(L)){
diag.spam <- bdiag.spam(diag.spam, L[[j]])
}
diag.spam
}
b.diag(blockzero)
}
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.