Learn R Programming

finalfit (version 0.9.7)

catTestfisher: Fisher's exact test for use with summary_factorlist

Description

Fisher's exact test for use with summary_factorlist

Usage

catTestfisher(tab)

Arguments

tab

A frequency table such as that created by table().

Examples

Run this code
# NOT RUN {
explanatory = c("sex.factor", "obstruct.factor")
dependent = "mort_5yr"
colon_s %>%
  summary_factorlist(dependent, explanatory, p = TRUE, catTest = catTestfisher)
# }

Run the code above in your browser using DataLab