dpowbat: The von-Mises based symmetric power Batschelet distribution

Description Usage Arguments Value Examples

View source: R/PowBatschelet.R

Description

The power Batschelet distribution, with mean direction mu, concentration parameter kp, and shape (peakedness) parameter lam. This is the von Mises based version, without a skewness parameter.

Usage

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

Arguments

x

An angle in radians.

mu

A mean direction, in radians.

kp

Numeric, > 0,the concentration parameter.

lam

The shape parameter (peakedness), -Inf < lam < Inf

log

Logical; whether to return the log of the probability or not.

Value

Numeric; Either the probability or log-probability of angle x given the parameters.

Examples

1
2
3
4
5
6
7
dpowbat(3)

# Flat-topped distribution
curve(dpowbat(x, lam = -.8), -pi, pi)

# Peaked distribution
curve(dpowbat(x, lam = .8), -pi, pi)

keesmulder/flexcircmix documentation built on May 29, 2019, 3:02 a.m.