Skip to content

CATT

The Cochran-Armitage Trend Test

v2.0 · May 18, 2017 · GPL-3

Description

This function conducts the Cochran-Armitage trend test to a 2 by k contingency table. It will report the test statistic (Z) and p-value.A linear trend in the frequencies will be calculated, because the weights (0,1,2) will be used by default.

Downloads

246

Last 30 days

12759th

471

Last 90 days

471

Last year

Trend: +9.3% (30d vs prior 30d)

CRAN Check Status

5 NOTE
9 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 OK
r-devel-linux-x86_64-fedora-gcc OK
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: ‘Zhicheng Du<dgdzc@hotmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Zhicheng",
                      family = "Du",
                      role = c("aut", "cre"),
                      email = "dgdzc@hotmail.com"),
               person(given = "Yuantao",
                      family = "Hao",
                      role = "aut"))
as necessary.

Found the following \keyword or \concept entries
which likely give several index terms:
  File ‘CATT.Rd’:
    \keyword{Cochran-Armitage; Trend Test}
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Zhicheng Du<dgdzc@hotmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Zhicheng",
                      family = "Du",
                      role = c("aut", "cre"),
                      email = "dgdzc@hotmail.com"),
               person(given = "Yuantao",
                      family = "Hao",
                      role = "aut"))
as necessary.

Found the following \keyword or \concept entries
which likely give several index terms:
  File ‘CATT.Rd’:
    \keyword{Cochran-Armitage; Trend Test}
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
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 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Zhicheng Du<dgdzc@hotmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Zhicheng",
                      family = "Du",
                      role = c("aut", "cre"),
                      email = "dgdzc@hotmail.com"),
               person(given = "Yuantao",
                      family = "Hao",
                      role = "aut"))
as necessary.

Found the following \keyword or \concept entries
which likely give several index term
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Zhicheng Du<dgdzc@hotmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Zhicheng",
                      family = "Du",
                      role = c("aut", "cre"),
                      email = "dgdzc@hotmail.com"),
               person(given = "Yuantao",
                      family = "Hao",
                      role = "aut"))
as necessary.

Found the following \keyword or \concept entries
which likely give several index term
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

Reverse Dependencies (1)

imports

Dependency Network

Dependencies Reverse dependencies EasyDescribe CATT

Version History

new 2.0 Mar 10, 2026