![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
R-数据挖掘
文章平均质量分 78
zefi279175732
这个作者很懒,什么都没留下…
展开
-
R fitting R语言数据拟合总结
本来想翻译过来,工作了比较大先附上原文,后续再来翻译,有兴趣的可以相互交流 QQ 279175732 TKSFit models to dataThis page provides tips and recommendations for fitting linear and nonlinear models to data. Updated and revised转载 2015-07-17 10:47:10 · 20001 阅读 · 0 评论 -
R中的曲线拟合
曲线拟合:(线性回归方法:lm)1、x排序2、求线性回归方程并赋予一个新变量 z=lm(y~x+I(x^2)+...)3、plot(x,y) #做y对x的散点图4、lines(x,fitted(z)) #添加拟合值对x的散点图并连线曲线拟合:(nls)lm是将曲线直线化再做回归,nls是直接拟合曲线。需要转载 2015-07-17 09:22:41 · 15099 阅读 · 0 评论