jacob-long / jacob-long/jtools
Facilitate annotating `plot_coefs`
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 171
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
I'd like to make it possible for users to put written annotations on `plot_coefs`/`plot_summs` output. I'm thinking about putting the slope, maybe test statistic, standard error, p-value, confidence interval in any combination.
My first thought is to use `glue` and let users customize by providing a string a la `huxtable::huxreg`. So as a default the string would be something like `"{estimate} ({standard.error}), t = {statistic}"`. That part will be easier to implement than the actual plotting of the text.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the plot_coefs and plot_summs entry points and reviewing how their output is assembled; the issue names glue and huxtable::huxreg as references for customizable annotation strings. Done means users can choose which statistics to display and see annotations on both plotting outputs, with the proposed default format supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100