dir_stats_2D: Directional statistics for the 2D case

View source: R/dir_stats_2D.R

dir_stats_2DR Documentation

Directional statistics for the 2D case

Description

Calculates the directional (circular) statistics of a sample of directional measurements for the 2D case (just the dip direction or strike).

Usage

dir_stats_2D(x, dir = 1, conf.level = 0.95)

Arguments

x

A vector of angular measurements in degrees

dir

A logical indicating if the data are directional (1) or non-directional (0)

conf.level

Confidence level to use for the cone of confidence (Default is 0.95)

Details

Directional data refers to dipping planes or lines, data expressed as dip direction (trend). Non-directional data refers to strike or lineations expressed as azimuths that can take two angles (i.e. 45 or 225)

Value

A data frame with the mean direction, mean resultant length, circular variance, concentration parameter, and cone of confidence

References

Davis, J. C. (2002). Statistical and Data Analysis in Geology. 3rd ed. John Wiley & Sons.

Swan, A. R. H. & Sandilands, M. (1995). Introduction to Geological Data Analysis. Blackwell Science.

Borradaile, G. (2003). Statistics of Earth Science Data. Springer.

Examples

x <- c(255, 239, 222, 231, 199, 271, 222, 274, 228,
       246, 177, 199, 257, 201, 237, 209, 216)
dir_stats_2D(x)
# non-directional data example
dir_stats_2D(carolina, dir = 0)


maxgav13/GMisc documentation built on June 12, 2022, 3:48 a.m.