Density of the Weibull distribution. Equivalent to R's dweibull(x, shape, scale = 1, log = FALSE).
dweibull(x, shape, scale = 1, log = FALSE)
Value(s) at which to evaluate: a number, number[] or Float64Array. The result has the same shape.
number[]
Float64Array
Shape parameter.
scale (see WeibullParams) and log (see DensityOptions).
scale
log
The density (or log density).
dweibull(1, 2); // 0.7357588823428847dweibull(1, 2, { scale: 3 }); // 0.1988531815143044 Copy
dweibull(1, 2); // 0.7357588823428847dweibull(1, 2, { scale: 3 }); // 0.1988531815143044
Density of the Weibull distribution. Equivalent to R's
dweibull(x, shape, scale = 1, log = FALSE).