Bingham confidence ellipse
Arguments
- stats
Output of
bingham_statistics()- n
integer. Resolution of the cone (number of points for the cone line)
See also
Other confidence:
bingham_ellipse(),
confidence_ellipse(),
fisher_confidence(),
stereo_confidence()
Examples
set.seed(20250411)
a <- cov(iris[, 1:3])
x <- rbingham(100, a, "Line")
r <- bingham_statistics(x)
r2 <- bingham_confidence(r)
plot(x, col = "grey")
points(r$mu, col = "red", pch = 16, cex = 1.5)
stereo_lines(r2$ellipse, col = "red")
r3 <- bingham_statistics(example_planes)
stereoplot()
points(example_planes, col = "grey", pch = 16)
stereo_confidence(bingham_confidence(r3), col = "red")
