Skip to contents

Shows the greatcircle of the shortest distance between a set of vectors to a specified vector in a stereoplot. The greatcircles are color-coded by the angular distance.

Usage

variance_plot(
  x,
  y = NULL,
  .mean = c("geodesic", "arithmetic", "projected"),
  segments = TRUE,
  upper.hem = FALSE,
  earea = TRUE,
  ...
)

Arguments

x

set of vectors. Object of class "Vec3", "Line", "Ray", "Plane", "Pair", or "Fault".

y

The vector from which the variance should be visualized (only one vector allowed). When NULL, then the mean vector of x is used (the default).

.mean

character. The type of mean to be used if y is NULL. One of "geodesic" (the default), "arithmetic" or "projected".

segments

logical. Whether the segments should be shown or only the points?

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").

...

optional arguments passed to assign_col()

Value

angles between all vectors in x and y.

Examples

variance_plot(example_lines)

variance_plot(example_planes, example_planes[1, ], segments = FALSE)