cauchy: Generate n pseudo random numbers from a cauchy distribution.

View source: R/cauchy.R

cauchyR Documentation

Generate n pseudo random numbers from a cauchy distribution.

Description

Generate n pseudo random numbers from a cauchy distribution.

Usage

cauchy(n = 1, t = 0, s = 1, seed = as.integer(Sys.time()))

Arguments

n

the number of pseudo random geometric numbers to generate. Defaults to 1.

t

Location parameter. Defaults to 0.

s

scaling parameter. Defaults to 1.

seed

Seed for pseudo random number generating algorithm. Defaults to a integer generated from the system time

Value

vector of cauchy random variants of length n

Examples

cauchy(n=1e5, t = -2, s = 2)

donovanquimby/simulationRNG documentation built on March 19, 2022, 12:46 p.m.