powered by
Density of the spherical Kent distribution.
kent.density(y, G, param, logden = FALSE ) vmf.density(y, k, mu, logden = FALSE)
A matrix or a vector with the data expressed in Euclidean coordinates, i.e. unit vectors.
A 3 x 3 matrix whose first column is the mean direction. The second and third columns are the major and minor axes respectively.
A vector with the concentration \(\kappa\) and ovalness \(\beta\) parameters. The \(\psi\) has been absorbed inside the matrix G.
The concentration parameter of the von Mises-Fisher distribution.
The mean direction of the von Mises-Fisher distribution.
If you the logarithm of the density values set this to TRUE.
A vector with the density values of y.
The density of the von Mises-Fisher or of the spherical Kent distribution is computed.
Mardia, K. V. and Jupp, P. E. (2000). Directional statistics. Chicester: John Wiley & Sons.
Kent John (1982). The Fisher-Bingham distribution on the sphere. Journal of the Royal Statistical Society, Series B, 44(1): 71-80.
kent.mle, rkent, ESAGmle
# NOT RUN { m <- colMeans( as.matrix( iris[,1:3] ) ) y <- rkent(1000, k = 10, m = m, b = 4) mod <- kent.mle(y) kent.density( y, G = mod$G, param = mod$param ) # }
Run the code above in your browser using DataLab