ggplot2 each group consists of only one observation
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to plot the graph using ggplot2 So I have the following dataframe: iter se perf name 1 V1 0.6463573 12.8 e 2 V2 0.3265986 16.8 e 3 V3 0.2333333 19.1 e 4 V4 0.1000000 19.9 e 5 V5 0.0000000 20.0 e 6 V1 0.7483315 12.6 f 7 V2 0.6333333 16.3 f 8 V3 0.6798693 18.8 f 9 V4 0.2236068 19.5 f 10 V5 0.1000000 19.9 f and I am trying to plot it in the format similar to this page (under Line graphs). So here is the code for plotting: pd and it is working nicely: , except that I want these dots to be connected. I tried to add group=1 or group