chisqtest | R Documentation |
Chi-squared test: statistical significance of (global) chi-squared statistic and (local) chi-squared residuals
chisqtest(x, p_adjust = "BH")
x |
|
p_adjust |
multiple testing correction method.
(see |
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.
lassie
# Calling lassie on cars dataset
las <- lassie(cars, continuous = colnames(cars), measure = "chisq")
# Permutation test using default settings
chisqtest(las)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.