全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
2991 3
2011-04-11
不知道实用什么函数
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2011-4-12 01:00:27
详细一点,啥曲线?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2011-4-12 02:03:07
You can use plot() on the model you fit. Normally, the common used R model object all have generic method registered in plot(). If the plot() doesn't contain the class of your model, you need to give the fitted values and plot it by yourself. Or you could set methods for that model class, but this might not be worthwhile.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2011-4-14 17:33:43
x <- rnorm(10)
y <- 2*x+rt(10,9)
out <- lm(y~x)
plot(y~x)
abline(out)
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群