jacob-long / jacob-long/interactions
mod2.labels issue
- Dominant language
- R
- Stars
- 135
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to change the "dem_perc" in each of my graph titles into "Dem Pct".
`interact_plot(reg2a, pred = x, modx = days, mod2 = dem_perc, data = dataset, x.label = "Regulations", y.label = "Probability of Doing X", legend.main = c("Logged Days"), mod2.labels = c("Dem Pct"))`
However, "dem_perc" does not change:

What am I doing incorrectly? Any guidance will be appreciated!
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the supplied interact_plot call first, focusing on the mod2.labels argument and the dem_perc title shown in the screenshot. Trace the interact_plot entry point to determine why the requested label is not applied; the issue is done when the graph titles display "Dem Pct" instead of "dem_perc".
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100