Sum =
function(x)
{
total = 0
for(i in x)
total = total + i
return(total)
}
Sum1 =
function(x)
{
total = 0
for(i in 1:10)
total = total + i
return(total)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.