Skip to content

catfun

Categorical Data Analysis

v0.1.4 · Jun 14, 2019 · MIT + file LICENSE

Description

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>.

Downloads

198

Last 30 days

16857th

445

Last 90 days

445

Last year

Trend: -19.8% (30d vs prior 30d)

CRAN Check Status

7 NOTE
7 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang NOTE
r-devel-linux-x86_64-fedora-gcc NOTE
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Nick Williams <ntwilliams.personal@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Nick",
                    family = "Williams",
                    role = c("aut", "cre"),
                    email = "ntwilliams.personal@gmail.com")
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Nick Williams <ntwilliams.personal@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Nick",
                    family = "Williams",
                    role = c("aut", "cre"),
                    email = "ntwilliams.personal@gmail.com")
as necessary.
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespaces in Imports field not imported from:
  ‘broom’ ‘epitools’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespaces in Imports field not imported from:
  ‘broom’ ‘epitools’
  All declared Imports should be used.
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
NOTE r-oldrel-macos-arm64

LazyData

  'LazyData' is specified without a 'data' directory
NOTE r-oldrel-macos-x86_64

LazyData

  'LazyData' is specified without a 'data' directory
NOTE r-oldrel-windows-x86_64

LazyData

  'LazyData' is specified without a 'data' directory
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

NOTE 7 OK · 7 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Nick Williams <ntwilliams.personal@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Nick",
                    family = "Williams",
                    role = c("aut", "cre"),
                    email = "ntwilliams.personal@gmail.com")
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Nick Williams <ntwilliams.personal@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Nick",
                    family = "Williams",
                    role = c("aut", "cre"),
                    email = "ntwilliams.personal@gmail.com")
as necessary.
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespaces in Imports field not imported from:
  ‘broom’ ‘epitools’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespaces in Imports field not imported from:
  ‘broom’ ‘epitools’
  All declared Imports should be used.
NOTE r-oldrel-macos-arm64

LazyData

  'LazyData' is specified without a 'data' directory
NOTE r-oldrel-macos-x86_64

LazyData

  'LazyData' is specified without a 'data' directory
NOTE r-oldrel-windows-x86_64

LazyData

  'LazyData' is specified without a 'data' directory

Dependency Network

Dependencies Reverse dependencies epitools DescTools cli magrittr Hmisc broom rlang catfun

Version History

new 0.1.4 Mar 9, 2026