cor.tetrachoric: Tetrachoric Correlation Coefficient

View source: R/cor.tetrachoric.R

cor.tetrachoricR Documentation

Tetrachoric Correlation Coefficient

Description

Calculate Tetrachoric Correlation Coefficient on a 2x2 contingency table.

Usage

cor.tetrachoric(
  x,
  alternative = c("two.sided", "less", "greater"),
  conf.level = 0.95,
  method = c("cosine", "sine")
)

Arguments

x

Matrix - 2x2 contingency table

alternative

The alternative hypothesis to use for the test computation.

conf.level

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

method

Method to use for calculation

Value

Hypothesis test result showing results of test.


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