normalize<-function(datavec){
# This Function receives a vector and allows you to normalize it.
lo<-min(datavec,na.rm=TRUE)
up<-max(datavec,na.rm=TRUE)
datanorm<-(datavec-lo)/(up-lo)
return(datanorm)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.