Description Usage Arguments Value Author(s) Examples
View source: R/log_normalize.R
Binding to a C
implementation of addition and normalization in log space.
1 | log_normalize(vals, maxi = max(vals), ID = which.max(vals)[1])
|
vals |
Log-values to be normalize |
maxi |
The maximum value of |
ID |
One entry of |
A list with three slots. First one is a numerical vector with values normalized so that they sum to 1. The second is the same normalized vector in log space. The last one is the log of the normalization constant. See example.
Edouard Pauwels
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.