chisqtest: Chi-squared test

View source: R/chisqtest.R

chisqtestR Documentation

Chi-squared test

Description

Chi-squared test: statistical significance of (global) chi-squared statistic and (local) chi-squared residuals

Usage

chisqtest(x, p_adjust = "BH")

Arguments

x

lassie S3 object.

p_adjust

multiple testing correction method. (see p.adjust.methods for a list of methods).

Value

chisqtest returns an S3 object of class lassie and chisqtest. Adds the following to the lassie object x:

  • global_p: global association p-value.

  • local_p: array of local association p-values.

See Also

lassie

Examples


# Calling lassie on cars dataset
las <- lassie(cars, continuous = colnames(cars), measure = "chisq")

# Permutation test using default settings
chisqtest(las)


oliviermfmartin/zebu documentation built on Sept. 1, 2023, 9:12 p.m.