Description Usage Arguments Value Author(s) Examples
Generates samples from a distribution held by an object of class distribution or
mvdistribution.  Intended mainly for internal use.
| 1 | sampleFrom(dstn, n = 1)
 | 
| dstn |  an object of class  | 
| n | Number of samples to generate | 
A vector or matrix of samples.
Francisco Gochez <fgochez@mango-solutions.com>
| 1 2 |     x <- distribution("pois", lambda = 5)
    hist(sampleFrom(x, 1000), col = "blue", prob = TRUE)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.