powered by
Calculates Goodman and Kruskall's Gamma along with its confidence interval
GKGamma(x, y = NULL, conf.level = NA, ...)
Either a matrix providing a cross-tabulation of two variables (if y is NULL) or one variable that will be cross-tabulated with y.
y
NULL
Either NULL if x is a matrix or a variable that will be cross-tabulated with x.
x
The confidence level of the desired confidence interval. If this is NA (the default), then no confidence intervall will be produced.
NA
Other arguments to be passed down to the table function.
table
A test statistic and optional confidence interval.
# NOT RUN { data(alberta) GKGamma(alberta$d2, alberta$k6group) # }
Run the code above in your browser using DataLab