Log likelihood for using optim.

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.

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.