Find the Position of Drop Out in a Vector

Compute odds from probabilities. The function is vectorized and can handle a vector of probabilities.

1 | ```
get_odds(p)
``` |

`p` |
vector of probabilities. May not be larger than 1 or smaller than zero. |

1 | ```
get_odds(.8) # 4
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

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.