9.2 iplotsグラフの基本
サンプルコード
data(Cars93, package="MASS")
attach(Cars93)
iplot(Weight, Horsepower)
iabline(lm(Horsepower~Weight))
subs <- iset.selected()
iabline(lm(Horsepower~Weight,subset=subs),col=rgb(1,0,0))
ilines(c(50,310),rep(8,2),col=rgb(0,0,1),plot=2)
iplot.list()
iplot.set(2)
ilines(c(50,310),rep(8,2),col=rgb(0,0,1))
- 最終更新:2013-05-23 20:14:30