We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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!
The text was updated successfully, but these errors were encountered:
@marcyshieh, you need to provide a string for each of the three labels, i.e.,
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 - 1 SD","Dem Pct", "Dem Pct + 1 SD") )
You also may not need to concatenate the legend.main string, as I think you may only be able to pass a single string to this parameter.
legend.main
Sorry, something went wrong.
No branches or pull requests
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!
The text was updated successfully, but these errors were encountered: