rinvbat: Inverse Batschelet distribution

Description Usage Arguments Value Functions Examples

Description

Random generation and probability for the Inverse Batschelet Distribution.

Usage

1
2
3
4
5
rinvbat(n, mu = 0, kp = 1, lam = 0)

dinvbat(x, mu = 0, kp = 1, lam = 0, log = FALSE)

dpowbat(x, mu = 0, kp = 1, lam = 0, log = FALSE)

Arguments

n

Number of values to sample.

mu

Mean direction.

kp

Concentration parameter.

lam

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

x

Angle in radians for which to evaluate the probability density.

log

Logical; whether to return the log probability density.

x

Angle in radians for which to evaluate the probability density.

log

Logical; whether to return the log probability density.

Value

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

Functions

Examples

1
hist(rinvbat(1000, .3, 2, .8), breaks = 100)

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