View source: R/Distributions_lib.R
Generate | R Documentation |
Generate random realizations from a distribution
Generate(dist, par, n = 1)
dist |
character, distribution name |
par |
numeric vector, parameter vector |
n |
integer, number of values to generate |
The generated values as a numeric vector.
Generate('Normal',c(0,1),10)
Generate('GEV',c(100,25,-0.2),10)
Generate('GEV',c(100,25,0.2),10)
Generate('Poisson',0.75,10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.