Nothing
SCAD.derivative <- function(x, lambda) {
x <- abs(x)
a <- 3.7
u <- (x<=lambda)
penalty.derivative <- lambda * u + (pmax(a*lambda-x,0)/(a-1)) * (1-u)
return(penalty.derivative)
}
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.