rlog | R Documentation |
Zeros happen. Logging zeros leads to errors in downstream code. For the sake of robustness, we replace zeros with a small positive number to be able to continue with calculations.
rlog(x, base = exp(1))
x |
numeric or complex vector. |
base |
positive or complex number. The base with respect to which
logarithms are computed. Defaults to |
Use judiciously, since errors are good too.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.