Description Usage Arguments Details Value Examples
View source: R/miscFunctions.R
Helper function for computing the log of difference
1 | lnDiffErfs(x1, x2)
|
x1 |
argument of the positive erf |
x2 |
argument of the negative erf |
v <- lnDiffErfs(x1, x2)
computes the log of the difference of two erfs in a numerically stable manner.
v |
list(c(log(abs(erf(x1) - erf(x2))), sign(erf(x1) - erf(x2)))) |
1 | lnDiffErfs(100, 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.