I want to adjust the position of the letter on the plot graph, but it won't move.
For future reference, it's very difficult to troubleshoot code posted as a screenshot. You will almost certainly get more traction on your questions when you provide an accompanying REPRoducible EXample, or reprex:
For this small problem though, I think you just need to add more than 15 to ing
:
text(ing + 35)
If you want to shift left/right, pass the x axis points first:
text(1:7 + .2, ing)
For me, I prefer to use ggplot2::geom_text()
, which has built-in arguments for doing this sort of thing.
Thank you so much for your help!!
Of course! If this answered your question, would you mind marking it as a solution? This will help others with the same problem know you found an answer, and it will show that the question doesn't need help anymore. Thanks!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.