r_sphere_contract: Sample from the contracted uniform distribution on the...

View source: R/sphere.R

r_sphere_contractR Documentation

Sample from the contracted uniform distribution on the sphere.

Description

Sample from the contracted uniform distribution on the sphere.

Usage

r_sphere_contract(n, t, m_a = NULL, m = NULL)

Arguments

n

number of samples

t

double in 0,1. contraction parameter. t=0 means constant m, t=1 is uniform distribution

m_a

double vector of length 2. Point to contract to.


chroetz/spheregr documentation built on April 10, 2022, 12:03 a.m.