Learn R Programming

circlus (version 0.0.2)

rspcauchy: Random Sampling from Spherical Cauchy Distributions

Description

Generates a random sample from spherical Cauchy distributions.

Usage

rspcauchy(n, rho, mu)

Value

A matrix with the generated values.

Arguments

n

The number of random draws.

rho

A numeric value giving the rho parameter.

mu

A numeric vector giving the mu direction parameter.

Examples

Run this code
rspcauchy(10, 0.95, c(1, 0, 0))

Run the code above in your browser using DataLab