powered by
summary_factorlist
Fisher's exact test for use with summary_factorlist
catTestfisher(tab)
A frequency table such as that created by table().
table()
# 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