sampleset<-function(x=NULL){
nameslist<-c("A","J","K","Thomas")
out<-list()
out$possible<-if(is.null(x))nameslist else nameslist[!(tolower(nameslist) %in% tolower(x))]
out$nameslist<-nameslist
return(out)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.