chisq_test: Reformat stats::chisq.test to accept inputs as two vectors.

Description Usage Arguments Value

View source: R/chisq_test.R

Description

Reformat stats::chisq.test to accept inputs as two vectors.

Usage

1
chisq_test(vector1, vector2)

Arguments

vector1.

The first vector to compare.

vector2.

The other vector to compare.

Value

chi square test on the joint frequency table of the two vectors.


peterhurford/surveytools2 documentation built on Feb. 18, 2021, 9:13 p.m.