#' sentence case for single character string
#'
#' \code{titlecase(name)}
#'
#' @details converts case of a text string; first letter is upper case,
#' others are lower case.
#'
#' @param \code{name} name or vector of names.
titlecase=function(text){
L=nchar(text)
paste(toupper(substr(text,1,1)),tolower(substr(text,2,L)),sep='')
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.