Description Usage Arguments Value Examples
This function allows to perform various nonparametric test for homogeneity on two samples of circular data.
1 2 3 4 5 6 7 8 9 10 | circular_test(
x,
y,
test = "dixon",
alpha = 0.05,
B = NULL,
type = "exact",
seed = 1982,
circle = TRUE
)
|
|
first sample |
|
second sample |
|
considered test ( |
|
significance level (default = 0.05) |
|
number of bootstrap replications |
|
seed used for random number generation |
|
method to compute pvalues (available methods: |
A list with the following structure:
a list containing the results of the exact distribution (NULL if type = "mc"), see function get_critical_values for details
a list containing the results of the approximated distribution obtained by simulation (NULL if type = "exact"), see function MC_pvalue for details
number of bootstrap replications
significance level
the considered test
observed test statistic
a list containing the observed spacings, see function compute_Sk for details
expression deparsing of the first dataset
expression deparsing of the second dataset
1 2 3 4 5 6 7 | # Load dataset
data(pigeons)
# Dixon test (exact pvalue)
circular_test(pigeons$experimental, pigeons$control)
# Dixon test (approximated pvalue)
circular_test( pigeons$experimental, pigeons$control, type = "mc")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.