COOK距离(influencePlot图的标签设定问题)

编程入门 行业动态 更新时间:2024-10-10 08:21:32

COOK<a href=https://www.elefans.com/category/jswz/34/1768622.html style=距离(influencePlot图的标签设定问题)"/>

COOK距离(influencePlot图的标签设定问题)

influencePlot图设定标签要注意配合row.name命令设定行名,才能和标签一一对应,否则就仅是对应点图

mydata3<-mydata
mydata3rowname<-round(mydata3$x,3)
row.names(mydata3)<-mydata3rowname
par(mfrow = c(2,3))#画图设置
influencePlot(lm(y1~0+x,data=mydata3),main="linemodel1")
influencePlot(lm(y1~0+log(x+1,base=exp(1)),data=mydata3),main="lnmodel1")
influencePlot(lm(y1~0+exp(x),data=mydata3),main="expmodel1")
influencePlot(lm(y2~0+x,data=mydata3),main="Linemodel2")
influencePlot(lm(y2~0+log(x+1,base=exp(1)),data=mydata3),main="lnmodel2")
influencePlot(lm(y2~0+exp(x),data=mydata3),main="expmodel2")

更多推荐

COOK距离(influencePlot图的标签设定问题)

本文发布于:2024-02-06 05:28:03,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1746504.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:距离   标签   COOK   influencePlot

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!