geom_line() requires at least two observations to connect with a line. Therefore, the statement "Each group consists of only one observation" is incorrect. The correct statement would be "There is only one group consisting of all observations." In this case, there is no need to adjust the group aesthetic.


原文地址: https://www.cveoy.top/t/topic/hgH4 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录