tadaatoolbox (version 0.16.1)

nom_chisqu: Simple Chi^2

Description

This is a very simple wrapper for stats::chisq.test.

Usage

nom_chisqu(x, y = NULL, correct = FALSE)

Arguments

x

Dependent variable. Alternatively a table.

y

Independent variable

correct

Apply correction, passed to chisq.test.

Value

A numeric value

Examples

Run this code
# NOT RUN {
nom_chisqu(ngo$abschalt, ngo$geschl)
# }

Run the code above in your browser using DataLab