有沒有辦法在沒有任何資料的情況下創建類似于下圖的圖形?

uj5u.com熱心網友回復:
你可以做這樣的事情。您可以添加另一個geom_curve和幾個geom_vlines。
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())

由
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/466710.html
