get_critical_values: Compute critical values for circular tests

Description Usage Arguments Value Author(s) Examples

View source: R/crit_val.R

Description

Compute critical values for circular tests

Usage

1
get_critical_values(n, m, test = "dixon", alpha = 0.05)

Arguments

alpha

Significance level

n

total of frequencies

m

number of spacings

test

considered test (dixon for Dixon test (default); ww for Wheeler-Watson; wilcox for Wilcoxon test; rao for Rao test; vdw for van der Waerden test; savage for Savage test)

Value

A list with the following structure:

dist

test distribution under H0

bracket

brackets values and associated p-values

test

considered test

alpha

considered alpha

n

total of frequencies

m

number of spacings

Author(s)

Stephane Guerrier

Examples

1
2
3
4
5
6
crit_val = get_critical_values(6,8)
crit_val
plot(crit_val)
crit_val = get_critical_values(12, 8, test = "ww")
crit_val
plot(crit_val)

SMAC-Group/circTest documentation built on Oct. 7, 2020, 7:18 p.m.