Usage
logistic(x, slope = 1, midpoint = 0, upper = 1)
Arguments
- x
Value
- slope
Slope of logistic function. Defaults to 1.
- midpoint
Midpoint of logistic function where the output is .5. Defaults to 0.
- upper
Maximal value returned by logistic function. Defaults to 1.
Value
f(x), where f is the logistic function
See also
Other custom:
%REM%()
,
contains_IM()
,
expit()
,
filter_IM()
,
indexof()
,
length_IM()
,
logit()
,
mod()
,
rbool()
,
rdist()
,
rem()
,
round_IM()
,
shuffle()
,
substr_i()
Examples
logistic(0)
#> [1] 0.5
logistic(1, slope = 5, midpoint = 0.5)
#> [1] 0.9241418