New functionality
plot.light_effects()has gained an argumentrecode_labelsto modify the curve labels.
Bug fixes
- More than one "by" variable would raise an error when creating the "flashlight" object, see #62.
- Fix compatibility issue with ggplot v 4.0.
Deprecated functionality
add_shap(): Deprecated in favor of {kernelshap} or {fastshap}.- Consequently,
type = "shap"inlight_profile(),light_importance(),light_scatter(), andlight_profile2d()is deprecated as well. plot_counts()is deprecated.light_recode()is deprecated.- The option
stats = "quartile"oflight_effects()andlight_profile()is deprecated. - Column names of resulting data objects cannot be set via
options()anymore.
Exported -> internal
The following functions are now internal:
grouped_center()grouped_counts()grouped_stats()grouped_weighted_mean()all_identical()auto_cut()common_breaks()cut3()
Minor changes
most_important()is not S3 anymore.plot.light_breakdown()andplot.light_importance()do not use flipped coordinates anymore.
Less dependencies
- {cowplot} and {withr} packages have been removed from "imports".
Announcements for upcoming version 1.1.0
- The argument "stats" in
light_effects()andlight_profile()will be removed. It has no effect anymore.
Maintenance
- Update code coverage version.
- Fix NOTES on CRAN results page.