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 |
|
p_adjust |
multiple testing correction method.
(see |
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
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]