Random numbers from the Pareto distribution. Equivalent to extraDistr::rpareto(n, a = 1, b = 1) in R.
extraDistr::rpareto(n, a = 1, b = 1)
setSeed(1);rpareto(2, { a: 3, b: 1 }); // [1.555872, 1.390286] Copy
setSeed(1);rpareto(2, { a: 3, b: 1 }); // [1.555872, 1.390286]
Random numbers from the Pareto distribution. Equivalent to
extraDistr::rpareto(n, a = 1, b = 1)in R.