foldp {qra} | R Documentation |
Title Function to calculate ratio of p+eps
to 1-p+eps
.
Description
This is a convenience function that returns
\frac{p+\epsilon}{1-p+\epsilon}
. It calculates
the argument that is supplied to the log
function in Tukey's ‘flog’.
Usage
foldp(p, eps)
Arguments
p |
Proportion |
eps |
Offset. The choice |
Value
(p+eps)/(1-p+eps)
Examples
foldp(c(0.2,0.75), 0)
[Package qra version 0.2.7 Index]