Includes wrapper functions around existing functions for the analysis of categorical data and introduces functions for calculating risk differences and matched odds ratios. R currently supports a wide variety of tools for the analysis of categorical data. However, many functions are spread across a variety of packages with differing syntax and poor compatibility with each another. prop_test() combines the functions binom.test(), prop.test() and BinomCI() into one output. prop_power() allows for power and sample size calculations for both balanced and unbalanced designs. riskdiff() is used for calculating risk differences and matched_or() is used for calculating matched odds ratios. For further information on methods used that are not documented in other packages see Nathan Mantel and William Haenszel (1959) <doi:10.1093/jnci/22.4.719> and Alan Agresti (2002) <ISBN:0-471-36093-7>.
Version: | 0.1.4 |
Imports: | epitools, DescTools, cli, magrittr, Hmisc, broom, rlang |
Suggests: | testthat, dplyr, forcats |
Published: | 2019-06-14 |
Author: | Nick Williams |
Maintainer: | Nick Williams <ntwilliams.personal at gmail.com> |
License: | MIT + file LICENSE |
NeedsCompilation: | no |
Materials: | README NEWS |
CRAN checks: | catfun results |
Reference manual: | catfun.pdf |
Package source: | catfun_0.1.4.tar.gz |
Windows binaries: | r-devel: catfun_0.1.4.zip, r-release: catfun_0.1.4.zip, r-oldrel: catfun_0.1.4.zip |
macOS binaries: | r-release: catfun_0.1.4.tgz, r-oldrel: catfun_0.1.4.tgz |
Please use the canonical form https://CRAN.R-project.org/package=catfun to link to this page.