Skip to contents

logistic(x) = 1 / (1 + exp(-x)), a wrapper for stats::plogis()

Usage

logistic(...)

Arguments

...

A numeric vector of values, and other named arguments to stats::plogis() if desired.

Value

A numeric vector

Examples

logistic(2)
#> [1] 0.8807971