rinvbatmix: Random generation for the Inverse Batschelet mixture...

Description Usage Arguments Value Examples

Description

Random generation for the Inverse Batschelet mixture distribution.

Usage

1
2
rinvbatmix(n, mus = -1:1, kps = c(50, 25, 10), lams = c(-0.4, 0,
  0.6), alphs = c(0.2, 0.2, 0.6))

Arguments

n

Number of values to sample.

mus

Mean directions.

kps

Concentration parameters.

lams

Lambdas, peakedness parameter, between -1 and 1. Positive values give a peaked density, while negative values give flat-topped densities. .

alphs

Mixture weights.

Value

Numeric vector of n samples from the Inverse Batschelet distribution, in radians.

Examples

1
hist(rinvbatmix(1000), breaks = 100)

keesmulder/circbayes documentation built on May 30, 2019, 2:04 p.m.