Skip to content

collinear

Automated Multicollinearity Management

v3.0.0 · Dec 8, 2025 · MIT + file LICENSE

Description

Provides a comprehensive and automated workflow for managing multicollinearity in data frames with numeric and/or categorical variables. The package integrates five robust methods into a single function: (1) target encoding of categorical variables based on response values (Micci-Barreca, 2001 (Micci-Barreca, D. 2001 <doi:10.1145/507533.507538>); (2) automated feature prioritization to preserve key predictors during filtering; (3 and 4) pairwise correlation and VIF filtering across all variable types (numeric–numeric, numeric–categorical, and categorical–categorical); (5) adaptive correlation and VIF thresholds. Together, these methods enable a reliable multicollinearity management in most use cases while maintaining model integrity. The package also supports parallel processing and progress tracking via the packages 'future' and 'progressr', and provides seamless integration with the 'tidymodels' ecosystem through a dedicated recipe step.

Downloads

363

Last 30 days

10508th

1K

Last 90 days

6.9K

Last year

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

CRAN Check Status

1 NOTE
13 OK
Show all 14 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-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 NOTE
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 (1 non-OK)
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.5Mb
  sub-directories of 1Mb or more:
    data   4.9Mb

Check History

NOTE 13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.5Mb
  sub-directories of 1Mb or more:
    data   4.9Mb

Dependency Network

Dependencies Reverse dependencies progressr future.apply mgcv ranger recipes rlang collinear

Version History

new 3.0.0 Mar 10, 2026
updated 3.0.0 ← 2.0.0 diff Dec 7, 2025
updated 2.0.0 ← 1.1.1 diff Nov 7, 2024
updated 1.1.1 ← 1.1.0 diff Dec 7, 2023
updated 1.1.0 ← 1.0.1 diff Nov 29, 2023
new 1.0.1 Oct 23, 2023