Defines a simple logistic function, @f$ e^x / (1 + e^x) @f$.

1 | ```
logistic(x)
``` |

`x` |
the variable to calculate the logistic function for |

The logistic function is used repeatedly in the coverage analysis so it defined here to improve the readability of those calculations.

@code exp(x) / (1 + exp(x))

http://en.wikipedia.org/wiki/Logistic_function

1 2 |

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

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