lms <- function(varz){
llz <- paste0(signif(mean({{varz}}),3)," ± ", signif(sd({{varz}}),3))
return(llz)
}
zz <- function(dfx = iris, varx = Sepal.Length, trix = Species){
aa <- dfx %>%
summarise (lms({{varx}}))
return(aa[[1]])
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.