楼主: shanshuimimeng
3059 3

[问答] 如何画出拟合曲线 [推广有奖]

  • 0关注
  • 0粉丝

已卖:3份资源

大专生

43%

还不是VIP/贵宾

-

威望
0
论坛币
2 个
通用积分
0.3427
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
145 点
帖子
59
精华
0
在线时间
37 小时
注册时间
2011-2-25
最后登录
2016-5-31

楼主
shanshuimimeng 发表于 2011-4-11 21:59:45 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
不知道实用什么函数
二维码

扫码加我 拉你入群

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

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

关键词:拟合曲线 不知道 曲线 拟合

回帖推荐

beatuxlee 发表于4楼  查看完整内容

x

ltx5151 发表于3楼  查看完整内容

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.

本帖被以下文库推荐

沙发
qoiqpwqr 发表于 2011-4-12 01:00:27
详细一点,啥曲线?

藤椅
ltx5151 发表于 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.

板凳
beatuxlee 发表于 2011-4-14 17:33:43
x <- rnorm(10)
y <- 2*x+rt(10,9)
out <- lm(y~x)
plot(y~x)
abline(out)
无为有之始

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-2-8 16:44