作者ch325199 (powerman)
看板R_Language
标题[问题] ggplot2求救
时间Thu Dec 21 16:38:48 2017
最近在学R语言的课程(大概两个月了
其中有一项小作业是关於ggplot2
请使用 ggplot
与 stat_smooth
绘制出Aids2中
绘制出 death 与 diag 以 state 分类後的线性回归结果
不知为何我都叫不出Aids2这笔资料
後面绘图的部分我也看不太懂题目
有人知道该怎麽写吗
跪求帮助
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 140.112.252.125
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/R_Language/M.1513845530.A.138.html
※ 编辑: ch325199 (140.112.252.125), 12/21/2017 16:41:07
1F:→ cywhale: library(MASS); data(Aids2) ..then google 12/21 16:51
→ cywhale: linear regression line in ggplot2
谢谢你! 12/21 16:52
※ 编辑: ch325199 (140.112.252.125), 12/21/2017 16:55:52
※ 编辑: ch325199 (140.112.252.125), 12/21/2017 18:51:44