How's this look? We can pivot your data into long format and then merge it.
library(tidyverse)
month<-1:9
df<-c(0.20, 0.342, 0.710, 0.228, 0.124, 0.203, 0.956, 0.593, 0.195)
actual<-data.frame(month, df)
#simPred for month 10:11
sim1<-c(0.182, 0.235)
sim2<-c(0.165, 0.233)
sim3<-c(0.174, 0.258)
sim4<-c(0.139, 0.393)
sim5<-c(0.201, 0.412)
simPred<-data.frame(sim1, sim2,sim3,sim4,sim5) %>%
mutate(month=c(10, 11)) %>%
pivot_longer(names_to = "sim", cols=starts_with("sim"), values_to="df") %>%
select(-sim) %>%
rbind(actual)
ggplot(simPred, aes(x=month, y=df)) +
geom_point() +
stat_summary(fun.data = "mean_cl_boot", color="red")
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…