Description Usage Arguments Value Examples
View source: R/Rayleighsample.R
a function to generate samples from a Rayleigh distribution
1 | Rayleighsample(n, sigma, antithetic = TRUE)
|
n |
number of observations |
sigma |
non-negative parameter of the Rayleigh distribution |
antithetic |
logical;if TRUE the antithetic variables method will be used |
the random samples of size n
1 2 3 4 5 6 | ## Not run:
Rayleighsample(1000,2)
sample=Rayleighsample(1000,2,antithetic=FALSE)
plot(sample)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.