powered by
Draw n independent observations from a distribution.
n
realise(distribution, n = 1)realize(distribution, n = 1)
realize(distribution, n = 1)
Vector of independent values drawn from the inputted distribution.
Distribution object.
Number of observations to generate.
d <- dst_pois(5) set.seed(2) realise(d, n = 10)
Run the code above in your browser using DataLab