Random numbers from the logistic distribution. Equivalent to R's rlogis().
rlogis()
Number of values to generate (fractions are truncated, as in R).
Optional
Location. Default 0.
0
Scale. Default 1.
1
An array of n values; NaN for invalid parameters.
n
NaN
setSeed(1);rlogis(2, { location: 0, scale: 1 }); // [-1.017531, -0.523116] Copy
setSeed(1);rlogis(2, { location: 0, scale: 1 }); // [-1.017531, -0.523116]
Random numbers from the logistic distribution. Equivalent to R's
rlogis().