Skip to contents

Adds an ellipse marking the bootstrapped confidence interval of the arithmetic mean to an existing plot

Usage

stereo_confidence(
  x,
  params = list(),
  .center = TRUE,
  col = par("col"),
  cex = par("cex"),
  pch = 16,
  upper.hem = FALSE,
  earea = TRUE,
  BALL.radius = 1,
  ...
)

Arguments

x

Spherical object or a list containing the output of an earlier call of confidence_ellipse()

params

list. Parameters passed to confidence_ellipse()

.center

logical. Whether the ellipse's center should be plotted?

col

Color of the ellipse and its center

pch, cex

Plotting symbol and size of the ellipse center. Ignored if .center is FALSE.

upper.hem

logical. Whether the projection is shown for upper hemisphere (TRUE) or lower hemisphere (FALSE, the default).

earea

logical TRUE for Lambert equal-area projection (also "Schmidt net"; the default), or FALSE for meridional stereographic projection (also "Wulff net" or "Stereonet").

BALL.radius

numeric size of sphere

...

graphical parameters passed to graphics::lines()

Value

output of confidence_ellipse()

Examples

set.seed(20250411)
plot(example_lines, col = "grey")
stereo_confidence(example_lines, params = list(n = 100, res = 100), col = "red")