This is a very simple wrapper for stats::chisq.test.
nom_chisqu(x, y = NULL, correct = FALSE)
Dependent variable. Alternatively a table.
table
Independent variable
Apply correction, passed to chisq.test.
chisq.test
A numeric value
numeric
# NOT RUN { nom_chisqu(ngo$abschalt, ngo$geschl) # }
Run the code above in your browser using DataLab