ord_gamma: Gamma

Description Usage Arguments Value Examples

View source: R/ord_stats.R

Description

Simple wrapper for DescTools::GoodmanKruskalGamma.

Usage

1
ord_gamma(x, y = NULL)

Arguments

x

A table or dependent numeric variable.

y

Empty or independent grouping variable

Value

numeric of length 1.

Examples

1
2
3
4
5
6
df <- data.frame(
  rating = round(runif(50, 1, 5)),
  group = sample(c("A", "B", "C"), 50, TRUE)
)
tbl <- table(df)
ord_gamma(tbl)

tadaatoolbox documentation built on July 2, 2020, 2:30 a.m.