chisqtest {zebu}R 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:

See Also

lassie

Examples


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

# Permutation test using default settings
chisqtest(las)


[Package zebu version 0.2.2.0 Index]