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
CRAN
243
Last 30 days
17783rd
743
Last 90 days
3.2K
Last year
Trend: +15.2% (30d vs prior 30d)
r2u
CRAN
11
Last 30 days
29
Last 90 days
125
Last year
Trend: -26.7% (30d vs prior 30d)
autoCRAN
2
Last 7 days
12
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
2
NOTE
11
OK
Show all 13 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-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | 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 | OK |
Check details (2 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}
Check History
NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 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"),
...[truncated]...
"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"),
...[truncated]...
"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-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