# .hlpr_print_summary ----
.hlpr_print_summary <- function(input) {
if (requireNamespace("knitr", quietly = TRUE)) {
knitr::kable(input, digits = 3)
} else {
input[,stat] <- round(input[,stat], digits = 3)
print(input)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.