vonmises {tectonicr} | R Documentation |
The von Mises Distribution
Description
Density, probability distribution function, quantiles, and random generation for the circular normal distribution with mean and kappa.
Usage
rvm(n, mean, kappa)
dvm(theta, mean, kappa)
pvm(theta, mean, kappa, from = NULL, tol = 1e-20)
qvm(p, mean = 0, kappa, from = NULL, tol = .Machine$double.eps^(0.6))
Arguments
n |
number of observations in degrees |
mean |
mean in degrees |
kappa |
concentration parameter |
theta |
angular value in degrees |
from |
if |
tol |
the precision in evaluating the distribution function or the quantile. |
p |
numeric vector of probabilities with values in |
Value
dvm
gives the density,
pvm
gives the probability of the von Mises distribution function,
rvm
generates random deviates (in degrees), and
qvm
provides quantiles (in degrees).
Examples
x <- rvm(100, mean = 90, kappa = 2)
dvm(x, mean = 90, kappa = 2)
pvm(x, mean = 90, kappa = 2)
qvm(c(.25, .5, .75), mean = 90, kappa = 2)
[Package tectonicr version 0.4.4 Index]