report.chitest {handyReport} | R Documentation |
The function reports the results of several (with several variables) chi-square tests.
report.chitest(x, y, dataset, simulate.p.value = TRUE, cramer = FALSE, ...)
x |
The names of the first set of categorical variables. |
y |
The names of the second set of categorical variables. |
dataset |
The dataframe with categorical variables. |
simulate.p.value |
Wheter to estimate the p-value by simulations (simulate.p.value=TRUE) or analytically (simulate.p.value=FALSE). |
cramer |
Wheter to calculate the Cramer's V coefficient. |
One or several categorical variables can be set in x and/or x. When several variables are set, they have to be in a vector format.
Marjan Cugmas
report.chitest(x = c("cyl", "vs", "am"), y = "gear", dataset = mtcars, simulate.p.value = TRUE)