Skip to contents

Functions to compute the logit and logistic sigmoid functions

Usage

logistic_sigmoid(x)

logit(x)

Arguments

x

Numeric value for which to compute the functions

Value

A single numeric value with the computed logit or logistic sigmoid function.

See also

Boost Documentation for more details on the mathematical background.

Examples

# Logistic Sigmoid Function
logistic_sigmoid(0.5)
#> [1] 0.6224593
# Logit Function
logit(0.7)
#> [1] 0.8472979