Learn R Programming

boostmath (version 1.4.0)

logistic_functions: Logistic Functions

Description

Functions to compute the logit and logistic sigmoid functions

Usage

logistic_sigmoid(x)

logit(x)

Value

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

Arguments

x

Numeric value for which to compute the functions

See Also

Boost Documentation for more details on the mathematical background.

Examples

Run this code
# Logistic Sigmoid Function
logistic_sigmoid(0.5)
# Logit Function
logit(0.7)

Run the code above in your browser using DataLab