chisq_stat: Tidy chi-squared test statistic

Description Usage Arguments

View source: R/wrappers.R

Description

A shortcut wrapper function to get the observed test statistic for a chisq test. Uses chisq.test(), which applies a continuity correction.

Usage

1

Arguments

data

A data frame that can be coerced into a tibble.

formula

A formula with the response variable on the left and the explanatory on the right.

...

Additional arguments for chisq.test().


andrewpbray/infer documentation built on Aug. 29, 2019, 5:57 a.m.