chi_approx: Muffles warning for 'chisq.test'

Description Usage Arguments Details Examples

View source: R/chi_approx.R

Description

Muffles warning for 'chisq.test'

Usage

1

Arguments

w

character string that may contain "Chi-squared approximation may be incorrect"

Details

Use as argument for warning in 'chisq.test' to muffle warning of "Chi-squared approximation may be incorrect"

Examples

1
2
3
4
# Not run:
data(iris)
Mat <- table(iris$Species == "setosa", iris$Petal.Width > 1)
chisq.test(Mat, correct = FALSE, warning = chi_approx)

thomasgstewart/ahsqc documentation built on Jan. 24, 2021, 11:19 a.m.