> require(car)
> attach(women)
> #carè¿ä¸ªå
çå
¨ç§°æ¯Companion to Applied Regression
> scatterplot(weight~height,lty.smooth=2,pch=19,col="red",main="Women Age 30-39",xlab="Height in Inches",ylab="Weight in Pounds")
Warning messages:
1: In plot.window(...) : "lty.smooth" is not a graphical parameter
2: In plot.xy(xy, type, ...) : "lty.smooth" is not a graphical parameter
3: In axis(side = side, at = at, labels = labels, ...) :
"lty.smooth" is not a graphical parameter
4: In axis(side = side, at = at, labels = labels, ...) :
"lty.smooth" is not a graphical parameter
5: In box(...) : "lty.smooth" is not a graphical parameter
6: In title(...) : "lty.smooth" is not a graphical parameter
> #carè¿ä¸ªå
ä¸çscatterplotå½ä»¤ç主è¦ä¼å¿å¨äºé¤äºæä¼ ç»çæ£ç¹å¾ä¹å¤
> #è¿è½å
å«å¹³æ»æåæ²çº¿
> #æ主è¦çæ¯è¿è½å¤å ä¸xä¸yæ°æ®ç箱线å¾
>
>
> #ç¨å°çå
æ¯car
> #ç¨å°çæ°æ®éæ¯womenï¼ä¸»è¦æ¯èº«é«ä¸ä½éçæ°æ®ï¼
> #ç¨å°çå½ä»¤æ¯scatterplot()
温馨提示:答案为网友推荐,仅供参考