cor.goodman.kruskal.gamma.onesample: Goodman and Kruskal's Gamma

View source: R/cor.goodman.kruskal.gamma.onesample.R

cor.goodman.kruskal.gamma.onesampleR Documentation

Goodman and Kruskal's Gamma

Description

Calculate Goodman and Kruskal's Gamma for a contingency table.

Usage

cor.goodman.kruskal.gamma.onesample(
  x,
  null.hypothesis.gamma = 0,
  alternative = c("two.sided", "greater", "less"),
  conf.level = 0.95
)

Arguments

x

A matrix that is an ordered contingency table.

null.hypothesis.gamma

Scalar - null hypothesis gamma.

alternative

The alternative hypothesis to use for the test computation.

conf.level

The confidence level for this test, between 0 and 1.

Value

Hypothesis test result showing results of test.


burrm/lolcat documentation built on Sept. 15, 2023, 11:35 a.m.