-
Hello everyone, I'm seeking assistance in aligning my coefficient plots with the text information displayed on the second y-axis on the right. I've attempted to achieve this using the code below, and here's the current result. I also experimented with manipulating the values in breaks = as.vector(outer(c())), but it seems to worsen the alignment of the plot. Any help or suggestions will be greatly appreciated. I can provide the data if needed. Thank you.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think it might be a matter of just choosing the appropriate values. as.vector(outer(c(-0.3, -0.15, 0, 0.15, 0.3), 1:2, "+")) |
Beta Was this translation helpful? Give feedback.
I think it might be a matter of just choosing the appropriate values.
You have
width = 0.75
withn = 5
groups, so each group should be spaced0.75 / 5 == 0.15
y-axis units apart.So the values for the manual axis should be: