#' @noRd
# Return SD only for numeric vector
sd2 <- function(x) {
if (!is.numeric(x)) {
return(NA)
} else {
return(stats::sd(x))
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.