# substract baseline values -----------------------------------------------
substractBaseline = function(x,c,positivize=FALSE,tozero=FALSE){
y = x-x[c]
if(positivize) y = y+abs(min(y))
if(tozero) y = y+abs(min(y))
return(y)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.