jacob-long / jacob-long/interactions

mod2.labels issue

Open
#58 1 comment 0 reactions 0 assignees View on GitHub
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:

![image](https://user-images.githubusercontent.com/29071370/169678259-f504b6e3-551a-47b4-a397-9fd8822533af.png)

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.