Distribution function of the logistic distribution. Equivalent to R's plogis(q, location = 0, scale = 1, lower.tail = TRUE, log.p = FALSE).
plogis(q, location = 0, scale = 1, lower.tail = TRUE, log.p = FALSE)
Quantile(s): a number, number[] or Float64Array. The result has the same shape.
number[]
Float64Array
location and scale (see LocationScaleParams), lowerTail and logP (see TailOptions).
location
scale
lowerTail
logP
The probability (or log probability).
plogis(1); // 0.7310585786300049plogis([-2, 0, 2], { scale: 2 }); // [0.2689414213699951, 0.5, 0.7310585786300049] Copy
plogis(1); // 0.7310585786300049plogis([-2, 0, 2], { scale: 2 }); // [0.2689414213699951, 0.5, 0.7310585786300049]
Distribution function of the logistic distribution. Equivalent to R's
plogis(q, location = 0, scale = 1, lower.tail = TRUE, log.p = FALSE).