An iterative algorithm for computing the Frechet mean, i.e. the vector that minimizes the Frechet variance.
Usage
geodesic_mean(x, ...)
# S3 method for class 'Pair'
geodesic_mean(x, ...)
# S3 method for class 'Ray'
geodesic_mean(x, ...)
# S3 method for class 'Line'
geodesic_mean(x, ...)
# S3 method for class 'Vec3'
geodesic_mean(x, ...)
# S3 method for class 'Plane'
geodesic_mean(x, ...)
geodesic_var(x, ...)
# S3 method for class 'Vec3'
geodesic_var(x, ...)
# S3 method for class 'Line'
geodesic_var(x, ...)
# S3 method for class 'Plane'
geodesic_var(x, ...)
# S3 method for class 'Ray'
geodesic_var(x, ...)
# S3 method for class 'Pair'
geodesic_var(x, ...)
Arguments
- x
object of class
"Vec3"
,"Line"
,"Ray"
,"Plane"
,"Pair"
, or"Fault"
.- ...
parameters passed to
geodesic_meanvariance_ray()
(ifx
is a Ray),geodesic_meanvariance_line()
(ifx
is a Vec3, Line or Plane) orgeodesic_mean_pair()
(ifx
is a Pair or a Fault).
Value
geodesic_mean
returns the mean vector as an object of class x
. geodesic_var
returns the variance as a numeric number.
References
Davis, J. R., & Titus, S. J. (2017). Modern methods of analysis for three-dimensional orientational data. Journal of Structural Geology, 96, 65–89. https://doi.org/10.1016/j.jsg.2017.01.002
See also
sph_mean()
for the arithmetic mean, projected_mean()
for projected mean