######function for reverse cusum######
cumsum_rev=function(x){
y = rev(cumsum(rev(x)))
return(y)
}
#####################################
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.