r_cauchy {rando} | R Documentation |
Generate Cauchy Distributed Values
Description
Generates a set of Cauchy distributed values.
Usage
r_cauchy(
location = 0,
scale = 1,
...,
n = default_n(location, scale),
.seed = NULL
)
Arguments
location |
vector of locations |
scale |
vector of scales, strictly positive |
... |
Unused |
n |
number of observations to generate. The |
.seed |
One of the following:
To extract the random seed from a previously generated set of
values, use |
Value
A numeric vector of length n
Examples
set_n(5)
r_cauchy(10)
r_cauchy(1:10)
r_cauchy(10, 2)
r_cauchy(10, 2, n = 10)
[Package rando version 0.2.0 Index]