Nothing
penaltymatrix <- function(lambda, PSM, beta, w, constant){
if(length(lambda) != nrow(PSM)){
stop("check dimensions of lambda and penalty-structure-matrix.")
}
p <- ncol(PSM)
L <- nrow(PSM)
plambda <- matrix(nrow=p, ncol=p, 0)
for(l in 1:L){
helpobject <- plmatrix(psv = PSM[l, ], beta = beta, constant = constant)
plambda <- plambda + lambda[l] * w[l] * helpobject
}
return(plambda)
}
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.