Nothing
penalty.nom <-
function(x, K = NULL){
# Nominal Smoothing Spline Penalty
# Nathaniel E. Helwig (helwig@umn.edu)
# Update: 2021-04-09
if(is.null(K)) K <- length(unique(x))
outer(x, x, FUN = "==") - 1/K
}
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.