sleep<-function(x){
# Let's the system sleep for x seconds (to slow down plotting of points, for example)
start.time<-Sys.time()
while((Sys.time()-start.time)<x){}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.