logistic1 {lazy.tools}R Documentation

logistic function with D and minimum value

Description

logistic function with D and minimum value

Usage

logistic1(x, D = 1.7, minp = 1e-08)

Arguments

x

vector

D

= 1.7

minp

minimum value of the function

Details

This function calculates
p=1/(1+exp(-D*x))
and applies minp as
p[p<minp]=minp; p[p>1-minp]=1-minp

Value

vector of the size of x


[Package lazy.tools version 0.1.3 Index]