CT_Coefficient {ConcordanceTest}  R Documentation 
Concordance Coefficient and KruskalWallis Statistic
Description
This function computes the Concordance coefficient and the KruskalWallis statistic.
Usage
CT_Coefficient(Sample_List, H = 0)
Arguments
Sample_List 
List of numeric data vectors with the elements of each sample. 
H 
0 by default. If set to 1, the KruskalWallis statistic is also calculated and returned. 
Value
The function returns a list with the following elements:

Sample_Sizes
: Numeric vector of sample sizes. 
order_elements
: Numeric vector containing the elements order. 
disorder
: Disorder of the permutation given byorder_elements
. 
Concordance_Coefficient
: 1relative disorder of permutation given byorder_elements
. 
H_Statistic
: KruskalWallis statistic (only if H = 1).
Examples
## Example
A < c(12,13,15,20,23,28,30,32,40,48)
B < c(29,31,49,52,54)
C < c(24,26,44)
Sample_List < list(A, B, C)
CT_Coefficient(Sample_List)
CT_Coefficient(Sample_List, H = 1)
## Example with ties
A < c(12,13,15,20,24,29,30,32,40,49)
B < c(29,31,49,52,54)
C < c(24,26,44)
Sample_List < list(A, B, C)
CT_Coefficient(Sample_List, H = 1)
[Package ConcordanceTest version 1.0.3 Index]