Description Usage Arguments Examples
For x=logit(p), this function returns s = log(∑ p) where the sum of p is less than or equal to 1. Calculations are designed to preserve accuracy even for values numerically near 0 or 1.
1 | LogitSum(x)
|
x |
A vector of probabilites whose sum is less than or equal to 1 |
1 2 3 4 5 |
Loading required package: lattice
[1] -0.6443967
[1] 0.5149177
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.