Is there a way to create a figure similar to the one below without having any data on this?
CodePudding user response:
You could do something like this. You could add another geom_curve
and a couple of geom_vline
s.
library(tidyverse)
ggplot()
geom_abline()
geom_curve(aes(x = 0, y = 0, xend = 1, yend = 1), curvature = -0.4)
annotate("text", x = 0.5, y = 0.5, label = "Line of Equality", angle = 35, vjust = 2)
labs(x = "Individuals Neighbourhoods\nAcross Space", y = "Scoioeconomic Position")
theme_minimal()
theme(axis.text = element_blank())