Rayleigh: Generating samples from Rayleigh distribution

Description Usage Arguments Value Examples

View source: R/Rayleigh.R

Description

Generating samples from Rayleigh distribution

Usage

1
Rayleigh(n, sigma, ant = T)

Arguments

n

the number of samples

sigma

the parameter of Rayleigh distribution

ant

whether using antithetic variables

Value

a random sample of size n

Examples

1
2
sample <- Rayleigh(1000,4)
head(sample,20)

pikachuuu108/StatComp18018 documentation built on May 19, 2019, 9:38 p.m.