vMF_robust | R Documentation |
Robust estimation for von Mises Fisher distribution using Windham()
.
vMF_robust(Y, cW, ...)
Y |
A matrix of observations in Cartesian coordinates. |
cW |
Tuning constants for each parameter in the vMF parameter vector. If a single number then the constant is the same for each element of the parameter vector. |
... |
Passed to |
Other directional model estimators:
Bingham()
,
FB()
,
vMF()
Other Windham robustness functions:
Windham()
,
ppi_robust()
if (requireNamespace("movMF")){
Y <- movMF::rmovMF(1000, 100 * c(1, 1) / sqrt(2))
} else {
Y <- matrix(rnorm(1000 * 2, sd = 0.01), ncol = 2)
Y <- Y / sqrt(rowSums(Y^2))
}
vMF_robust(Y, cW = c(0.01, 0.01), method = "smfull")
vMF_robust(Y, cW = c(0.01, 0.01), method = "Mardia")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.