Description Usage Arguments Author(s) See Also
bivariate
Performs bivariate analysis of two categorical variables.
The analysis includes a chi-square test of association and difference in
proportion tests for each level of the categorical explanatory variable,
ordered by proportion.
1 2 |
data |
Data frame containing response and explanatory variable |
y |
Character string description for the response variable |
x |
Character string description of the explanatory variable |
title |
Character string containing the plot title |
response |
Character string indicating whether the response is categorical or numeric c("c", "n") |
success |
Character string for the factor variable considered the success factor |
conf |
Numeric between 0 and 1 for the designated confidence level |
alpha |
Numeric between 0 and 1 for the probability of a type I error |
alternative |
Character string indicating whether the alternative hypothesis is "two.sided", "less", or "greater" |
John James, jjames@datasciencesalon.org
Other xmar functions: analyze2DData
,
analyzeTrend
, diffTest
,
multivariate
, plotBars
,
plotDiffTest
, plotLines
,
plotX2
, preprocess
,
univariate
, x2Test
,
x2TrendTest
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.