realise | R Documentation |
Draw n
independent observations from a distribution.
realise(distribution, n = 1)
realize(distribution, n = 1)
distribution |
Distribution object. |
n |
Number of observations to generate. |
Vector of independent values drawn from the inputted distribution.
realise()
and realize()
are aliases and do the same thing.
d <- dst_pois(5)
set.seed(2)
realise(d, n = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.