powered by
Density of the Wood bimodal distribution on the sphere.
dwood(y, param, logden = FALSE)
A vector with the (log) density values of y.
A matrix containing two columns. The first one is the latitude and the second is the longitude, both expressed in degrees.
A vector with the 5 parameters, in the order they are returned by the wood.mle function. That is, \((\gamma, \delta, \alpha, \beta, \kappa)\).
wood.mle
If you the logarithm of the density values set this to TRUE.
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
The density of the spherical Wood distribution is computed.
Wood A.T.A. (1982). A bimodal distribution on the sphere. Journal of the Royal Statistical Society, Series C, 31(1): 52--58.
dkent, desag, wood.mle
x <- rvmf(100, rnorm(3), 15) x <- euclid.inv(x) mod <- wood.mle(x) d <- dwood(x, mod$info[, 1])
Run the code above in your browser using DataLab