geom_path: Each group consists of only one observation. Do you need to adjust the group aesthetic?
报错 见到这个报错,我百度了一下,好多是建议 group =1 但尝试无效 1.数据 主要就错在 group 的数据类型,他是因子型,但如果想将坐标点连接起来得为数值 merge_data$average <- as.numeric(merge_data$average) merge_data$group <- as.numeric(merge_data$group) 这样就没问题了 …