Package: collinear 3.0.2

collinear: Automated Multicollinearity Management
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.
Authors:
collinear_3.0.2.tar.gz
collinear_3.0.2.zip(r-4.7)collinear_3.0.2.zip(r-4.6)collinear_3.0.2.zip(r-4.5)
collinear_3.0.2.tgz(r-4.6-any)collinear_3.0.2.tgz(r-4.5-any)
collinear_3.0.2.tar.gz(r-4.7-any)collinear_3.0.2.tar.gz(r-4.6-any)
collinear_3.0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
collinear/json (API)
| # Install 'collinear' in R: |
| install.packages('collinear', repos = c('https://blasbenito.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/blasbenito/collinear/issues
Pkgdown/docs site:https://blasbenito.github.io
- experiment_adaptive_thresholds - Dataframe resulting from experiment to test the automatic selection of multicollinearity thresholds
- experiment_cor_vs_vif - Dataframe with results of experiment comparing correlation and VIF thresholds
- gam_cor_to_vif - GAM describing the relationship between correlation and VIF thresholds
- prediction_cor_to_vif - Prediction of the model 'gam_cor_to_vif' across correlation values
- toy - Toy dataframe with varying levels of multicollinearity
machine-learningmulticollinearitystatistics
Last updated from:2614b706b0. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 214 | ||
| source / vignettes | OK | 203 | ||
| linux-release-x86_64 | OK | 185 | ||
| macos-release-arm64 | OK | 159 | ||
| macos-oldrel-arm64 | OK | 125 | ||
| windows-devel | OK | 147 | ||
| windows-release | OK | 195 | ||
| windows-oldrel | OK | 131 | ||
| wasm-release | OK | 172 |
Exports:case_weightscollinearcollinear_selectcollinear_statscor_clusterscor_cramercor_dfcor_matrixcor_selectcor_statsdrop_geometry_columnf_autof_auto_rulesf_binomial_gamf_binomial_glmf_binomial_rff_categorical_rff_count_gamf_count_glmf_count_rff_functionsf_numeric_gamf_numeric_glmf_numeric_rfidentify_categorical_variablesidentify_logical_variablesidentify_numeric_variablesidentify_response_typeidentify_valid_variablesidentify_zero_variance_variablesmodel_formulapreference_orderscore_aucscore_cramerscore_r2step_collineartarget_encoding_labtarget_encoding_lootarget_encoding_meantarget_encoding_rankvalidate_arg_dfvalidate_arg_df_not_nullvalidate_arg_encoding_methodvalidate_arg_fvalidate_arg_function_namevalidate_arg_max_corvalidate_arg_max_vifvalidate_arg_predictorsvalidate_arg_preference_ordervalidate_arg_quietvalidate_arg_responsesvifvif_dfvif_selectvif_stats
Dependencies:classclassIntcliclockcodetoolscpp11data.tableDBIdiagramdigestdplyre1071farverfuturefuture.applygenericsggplot2globalsgluegowergtablehardhatipredisobandKernSmoothlabelinglatticelavalifecyclelistenvlubridatemagrittrMASSMatrixmgcvnlmennetnumDerivparallellypillarpkgconfigprodlimprogressrproxypurrrR6rangerRColorBrewerRcppRcppEigenrecipesrlangrparts2S7scalessfshapesparsevctrsspatialDataSQUAREMstringistringrsurvivalterratibbletidyrtidyselecttimechangetimeDatetzdbunitsutf8vctrsviridisLitewithrwk
