Density of the Wood bimodal distribution on the sphere | R Documentation |
Density of the Wood bimodal distribution on the sphere.
dwood(y, param, logden = FALSE)
y |
A matrix containing two columns. The first one is the latitude and the second is the longitude, both expressed in degrees. |
param |
A vector with the 5 parameters, in the order they are returned by the |
logden |
If you the logarithm of the density values set this to TRUE. |
The density of the spherical Wood distribution is computed.
A vector with the (log) density values of y.
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
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])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.