阅读背景:

尽管两组使用ggplot2,但散点图具有单一回归线

来源:互联网 

I would like to produce a scatter plot with ggplot2, which contains both a regression line through all data points (regardless which group they are from), but at the same time varies the shape of the markers by the grouping variable. The code below produces the group markers, but comes up with TWO regression lines, one for each group.I would like to produce a scatter plot with ggp




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: