Learn R Programming

SPARRAfairness (version 0.0.0.1)

logistic: Logistic

Description

Logistic function: 1/(1+exp(-x))

Usage

logistic(x)

Value

value of logistic(x)

Arguments

x

argument

Examples

Run this code

# Plot
x=seq(-5,5,length=1000)
plot(x,logistic(x),type="l")

Run the code above in your browser using DataLab