#trick to allow multiplying many small numbers in real space using addition in log space
logSumExp = function(x)
{
a = max(x)
return(a+log(sum(exp(x-a))))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.