x2Test: x2Test

Description Usage Arguments Author(s) See Also

View source: R/x2Test.R

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, [email protected]

See Also

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


DataScienceSalon/xms documentation built on Nov. 18, 2017, 6:46 a.m.