Logistic function: 1/(1+exp(-x))
logistic(x)
x
argument
value of logistic(x)
# Plot x=seq(-5,5,length=1000) plot(x,logistic(x),type="l")