jacob-long / jacob-long/interactions
Cat_plot converts numeric predictor variable to categorical without warning
- Dominant language
- R
- Stars
- 135
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
Using 'cat_plot' with a continuous predictor variable converts the predictor into a character variable. This means x axis labels can be very messy as they overlap and its difficult (or maybe impossible) to set breaks so these dont overlap. I had this issue but i eventually realised i should have been using 'interact_plot' instead of 'cat_plot'.
If 'cat_plot' tested for the variables being numeric before plotting and issued a warning that 'interact_plot' is better suited to plotting these variables it might save other users making this same mistake.
Thanks for a great package!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the cat_plot entry point and trace how continuous predictor variables are handled before plotting. Compare the behavior with interact_plot; done means numeric predictors trigger a warning recommending interact_plot, with the existing plotting behavior otherwise understood and verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100