Skip to content
New issue

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

Changing the x.label in Johnson Neyman plot using sim_slopes #70

Open
esellars1 opened this issue Apr 25, 2023 · 0 comments
Open

Changing the x.label in Johnson Neyman plot using sim_slopes #70

esellars1 opened this issue Apr 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@esellars1
Copy link

Hi there,

Firstly, thank you very much for such a helpful package.

I was wondering whether there is a way to change the x axis label in a Johnson Neyman plot using sim_slopes? When I use the following code, a JN plot is generated, but the x axis label is still the name of the moderator variable from my dataset, rather than what I have specified as a relabel:

E.g. The following example code generate JN plots, but without label changes:

sim_slopes(ModelA, pred = predictorA, modx = modA, johnson_neyman = TRUE, modx.labels= "Moderator A", jnplot = TRUE)

OR

sim_slopes(ModelA, pred = predictorA, modx = modA, johnson_neyman = TRUE, x.label= "Moderator A", jnplot = TRUE)

Thank you!

@esellars1 esellars1 added the bug Something isn't working label Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant