> par(mfcol=c(2,1))
> hist(airquality$Temp)
Error in plot.new() : figure margins too large
> hist(airquality$Temp)
Error in plot.new() : figure margins too large
2017-09-19
1: In doTryCatch(return(expr), name, parentenv, handler) : 繪圖種類'n
'被縮短成第一個字符
這是啥意思
'被縮短成第一個字符
這是啥意思
2017-09-19
最新回答 / 亜門
不一定正確,但我也來說說自己的想法吧。查看幫助文檔,?xyplot,在里面并沒有發現有專門可以加回歸線或者加水平線垂直線的參數,所以就只能自定義一個函數來使用了。另外還可以查看?panel.functions的幫助文檔,里面有例子,也都是要自己去定義一個函數來使用。如果想直接使用某些參數,用ggplot2會比較好,個人覺得。
2017-09-10