Description Usage Arguments Details Examples
Muffles warning for 'chisq.test'
1 | chi_approx(w)
|
w |
character string that may contain "Chi-squared approximation may be incorrect" |
Use as argument for warning in 'chisq.test' to muffle warning of "Chi-squared approximation may be incorrect"
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.