dir_2sample_test_3D: Directional statistics two-sample test (3D)

View source: R/dir_2sample_test_3D.R

dir_2sample_test_3DR Documentation

Directional statistics two-sample test (3D)

Description

Performes the two-sample test, for the 3D case, for a pair of angular measurements to determine if they could belong to the same population (event).

Usage

dir_2sample_test_3D(d1, i1, d2, i2, conf.level = 0.95)

Arguments

d1

A vector of dip direction measurements in degrees for sample 1

i1

A vector of dip measurements in degrees for sample 1

d2

A vector of dip direction measurements in degrees for sample 2

i2

A vector of dip measurements in degrees for sample 2

conf.level

Confidence level for the F-statistic calculation and p-value interpretation (Default is 0.95)

Value

A list with the F-statistic, the critical value of F, the degrees of freedom, the p-value, and the interpretation of these values

References

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

Examples

d1 = c(12,18,22,15,10,20)
i1 = c(42,40,48,30,42,30)
d2 = c(111.7,109.2,185.1,83.1,235.2,226.7)
i2 = c(40.4,31.4,25.9,26.2,27,31.5)
dir_2sample_test_3D(d1, i1, d2, i2)


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