logistic1 {lazy.tools} | R Documentation |
logistic function with D and minimum value
logistic1(x, D = 1.7, minp = 1e-08)
x |
vector |
D |
= 1.7 |
minp |
minimum value of the function |
This function calculates
p=1/(1+exp(-D*x))
and applies minp as
p[p<minp]=minp; p[p>1-minp]=1-minp
vector of the size of x