Description Usage Arguments Value
Perform significance testing on categorical data
1 | p_cat_test(df, y, ..., subgrp = NULL, exact = FALSE)
|
df |
data frame |
y |
column which contains the corresponding groups, as a string or symbol |
... |
selection of column(s) with the data values, supports dplyr selection rules |
subgrp |
optional, additional columns used to subgroup the data prior to testing as a character vector |
normal |
logical, if TRUE will use fisher.test, otherwise chisq.test |
tibble with the results of significance testing
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.