Description Usage Arguments Details Value Author(s) Examples
Internal function, logdiff
1 | logdiff(x, y)
|
x |
numeric |
y |
numeric |
This function calculates the log of the difference of the exponentiated logs taking out the max, i.e. insuring that the difference is not negative
ie you want log(exp(x) - exp(y))
max(x) + log(exp(x - max(x,y)) - exp(y-max(x,y)))
Chris Wallace
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.