I have two variables that I'd like to show on the side of a plot that I've already created, alongside their results
London <- nrow()
NewYork <- nrow()
London
[1] 22
NewYork
[1] 10
This is what I've tried
PreviousPlot + labs(legend = London , NewYork)
Thanks a lot in advance
annotatefunction. Usage"p + annotate("text", x = 4, y = 25, label = "Some text")