R_crit: Mean resultant length critical value

View source: R/R_crit.R

R_critR Documentation

Mean resultant length critical value

Description

Calculates the critical value for the mean resultant length for directional statistics.

Usage

R_crit(n, case = "2D", conf.level = 0.95)

Arguments

n

Sample size of the correlated values

case

String idicating for which case to calculate the critical value, 2D or 3D

conf.level

Confidence level to use for the critical value (Default is 0.95, and see details section below)

Details

The result of this function is mostly to be used with dir_unif_test_xD(), but can be used as standalone. The options for confidence level are 0.99, 0.975, 0.95, or 0.90

Value

Mean resultant length's critical value for a given sample size

References

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

Examples

R_crit(10)
R_crit(10, conf.level = 0.9)
R_crit(10, case = "3D", conf.level = 0.9)


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