rvcauchy {rv} | R Documentation |
Random vector generation for the Cauchy distribution.
rvcauchy(n=1, location=0, scale=1)
n |
integer: number of variables to generate |
location |
location parameter (may be random) |
scale |
scale parameter (may be random) |
For details on the Cauchy distribution, see Cauchy.
See also rvt
; Cauchy is a special
case of the t-distribution with 1 degree of freedom,
and therefore rvcauchy(n,location,scale)
is
equivalent to rvt(n, mu, scale, df=1)
.
A random vector (rv object) of length n
.
Jouni Kerman kerman@stat.columbia.edu http://www.stat.columbia.edu/~kerman
Kerman, Jouni and Gelman, Andrew. Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Technical report, Columbia University, New York.