Description Usage Arguments Author(s) See Also
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
1 | x2Test(freqTbl, y, x, conf = 0.95, alpha = 0.05)
|
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. |
John James, jjames@datasciencesalon.org
Other xmar functions: analyze2DData,
analyzeTrend, bivariate,
diffTest, multivariate,
plotBars, plotDiffTest,
plotLines, plotX2,
preprocess, univariate,
x2TrendTest
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.