x2Test: x2Test

Description Usage Arguments Author(s) See Also

Description

x2Test Conducts a chi-square test of independency on a contingency table and renders a data frame containing the results and a statement describing the results

Usage

1
x2Test(freqTbl, y, x, conf = 0.95, alpha = 0.05)

Arguments

y

Character string indicating the name of the response variable

x

Character string indicating the name of the explanatory variable

conf

Level of confidence between 0 and 1

alpha

The probability of a type 1 error between 0 and 1

data

Data to be analyzed with response variable as first variable.

Author(s)

John James, jjames@datasciencesalon.org

See Also

Other xmar functions: analyze2DData, analyzeTrend, bivariate, diffTest, multivariate, plotBars, plotDiffTest, plotLines, plotX2, preprocess, univariate, x2TrendTest


DataScienceSalon/xms documentation built on May 28, 2019, 12:24 p.m.