dir_stats_2D | R Documentation |
Calculates the directional (circular) statistics of a sample of directional measurements for the 2D case (just the dip direction or strike).
dir_stats_2D(x, dir = 1, conf.level = 0.95)
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) |
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)
A data frame with the mean direction, mean resultant length, circular variance, concentration parameter, and cone of confidence
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.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.