residual_sd <- function(object){
r <- object$residuals
w <- object$weights
n <- length(r)
sqrt(sum(w * r^2) / (n - object$edf))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.