checkLambdaRidge <- function(lambdaRidge) {
if(!is.numeric(lambdaRidge) || length(lambdaRidge) != 1) {
stop("lambdaRidge must be a number")
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.