totitle <-
function(x,USE.NAMES=FALSE) {
s <- sapply(x, function(x) strsplit(x, "\\s", perl=TRUE, fixed=FALSE))
s <- sapply(s, function(s) paste(gsub("(.)(.*)", "\\U\\1\\E\\2", s, perl=TRUE), collapse=" "))
s
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.