p_cat_test: Perform significance testing on categorical data

Description Usage Arguments Value

Description

Perform significance testing on categorical data

Usage

1
p_cat_test(df, y, ..., subgrp = NULL, exact = FALSE)

Arguments

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

Value

tibble with the results of significance testing


bgulbis/resultr documentation built on May 31, 2019, 7:40 a.m.