我正在尝试创建一个如下图所示的图,但是在涉及多个 x 轴时我真的很挣扎。任何帮助,将不胜感激。提供的图的示例代码。
示例图:
df <- data.frame(Time=c(" ","Phase 1","Phase 1","Phase 1","Phase 1"," ",
" ","Phase 2","Phase 2","Phase 2","Phase 2"," "),
Condition=c("BO", "BO", "BO", "BO","BO","BO",
"OB","OB","OB","OB","OB","OB"),
Phase=c("Baseline", "T1", "T2", "T1", "T2", "Follow-Up"),
Change=c(0,-2.84, -5.02, -6.81,-7.41,-6.80, 0, -3.35,-6.92,-7.05,-6.59,-6.41))
尝试按照此处提供的代码。但并没有走多远。