random_letter <- function(vec = letter){
letter <- c("A", "B", "C", "D", "E", "F","G","H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z")
random <- sample(letter, 1)
return(random)
}
random_letter()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.