GKGamma: Calculate Goodman-Kruskal's Gamma

Description Usage Arguments Details Value Author(s)

Description

Calculate Goodman-Kruskal's Gamma coefficient. Code taken from GoodmanKruskalGamma in DescTools v0.99.22.

Usage

1
  GKGamma(x)

Arguments

x

a numeric vector or a contingency table. A matrix will be treated as a table.

y

NULL(default) or a vector with compatible dimensions to x. If y is provided, table(x,y) is calculated.

conf.level

confidence level of the interval. If set to NA (the default), no confidence intervals will be calculated.

...

Other arguments to be passed to table.

Details

See help file for GoodmanKruskalGamma for more details.

Value

A scalar value for the test statistic and optionally a confidence interval.

Author(s)

Dave Armstrong <dave@quantoid.net>


davidaarmstrong/RcmdrPlugin.ISCSS documentation built on May 7, 2019, 2:54 a.m.