collinear
R package collinear by blasbenito — release notes from GitHub.
collinear has broken its API twice to stop making the user pick thresholds.
◆Recent moves
- 3mo ago
Namespace, NA and sf fixes; example data moves to spatialData
Four crash and correctness fixes on the 3.0 surface: namespace-qualified preference functions are recognised instead of being labelled custom, NA responses are dropped rather than propagated, model_formula() no longer fails on sf spatial data frames, and score_auc() handles NA inputs. Example datasets move out to the spatialData package.
View source ↗ - 8mo ago
Adaptive thresholds, multi-response support and a new output class
⚡ SPARKThe second interface rewrite in a year: response becomes responses for multi-response support, output becomes a classed collinear_output structure, the identify_ and f_ function families are renamed again, and both max_cor and max_vif default to NULL so thresholds are derived from the data. Target encoding also flips from automatic to opt-in.
View source ↗ - 1y ago
Categorical responses, f_auto() defaults and future-based parallelism
⚡ SPARKThe first major rewrite, extending collinear() and preference_order() from numeric-only responses to any combination of categorical and numeric responses and predictors, with multiple responses returning named lists. f_auto() selects an appropriate preference function when none is given, parallelism moves to future::plan(), and a warn_limit check flags predictors suspiciously associated with the response.
View source ↗