Description Usage Arguments Value

View source: R/logit_transform.R

Transform a vector of values between 0 and 1 using the logit transformation. Includes a buffer, which by default nudges 0s and 1s inward to avoid infinite values.

1 | ```
logit_transform(x, buffer=0.001)
``` |

`x` |
vector of values to transform. Must be between 0 and 1, inclusive. |

`buffer` |
numeric, the amount to nudge limit values inwards before transformation to avoid returning infinite values. Defaults to 0.001. Set to 0 to return infinite values. Setting to "estimate" will use the smallest distance from 0 or 1 in |

a vector of the transformed values

mjdufort/miscHelpers documentation built on Nov. 18, 2018, 9:20 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.