randfn | R Documentation |
wrapper to generate random samples from a density function given by a character string as an argument
randfn(n, family, ...)
n |
the number of samples to generate |
family |
the name of the density function, character string |
... |
other named arguments to feed into the density function |
the vector of samples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.