contrastable
Consistent Contrast Coding for Factors
v1.1.0
·
Nov 23, 2025
·
MIT + file LICENSE
Description
Quickly set and summarize contrasts for factors prior to regression analyses. Intended comparisons, baseline conditions, and intercepts can be explicitly set and documented without the user needing to directly manipulate matrices. Reviews and introductions for contrast coding are available in Brehm and Alday (2022)<doi:10.1016/j.jml.2022.104334> and Schad et al. (2020)<doi:10.1016/j.jml.2019.104038>.
Downloads
CRAN
249
Last 30 days
17108th
674
Last 90 days
2.4K
Last year
Trend: +67.1% (30d vs prior 30d)
r2u
CRAN
12
Last 30 days
38
Last 90 days
134
Last year
Trend: -20% (30d vs prior 30d)
CRAN Check Status
13
OK
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| 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 History
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
WARNING
r-devel-linux-x86_64-debian-gcc
Rd files
cannot open the connection cannot open the connection cannot open the connection cannot open the connection cannot open the connection cannot open the connection cannot open the connection cannot open the connection cannot open the connection cannot ...[truncated]... rd_difference_code.Rd’, ‘glimpse_contrasts.Rd’, ‘helmert_code.Rd’, ‘interpret_intercept.Rd’, ‘is.unordered.Rd’, ‘is_centered.Rd’, ‘is_orthogonal.Rd’, ‘orth_polynomial_code.Rd’, ‘print_contrasts.Rd’, ‘raw_polynomial_code.Rd’, ‘reverse_helmert_code.Rd’