jacob-long / jacob-long/jtools

Facilitate annotating `plot_coefs`

Open
#50 2 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.