動作環境
RStudio 0.99.903 on Windows 7 pro
R version 3.3.1
R機能マップ
http://qiita.com/7of9/items/0f911bcb95d3a8bbd703
plot()において複数のデータセットを載せられないかと思った。
参考 http://stackoverflow.com/questions/2564258/plot-two-graphs-in-same-plot-in-r
参考 http://www.harding.edu/fmccown/r/
> tx<-c(1,2,3)
> ty1<-c(8,6,5)
> ty2<-c(4,3,2)
> ty3<-c(1,2,3)
> plot(tx,ty1,type="b",ylim=c(0,10))
> lines(tx,ty2,type="b",col="red")
> lines(tx,ty3,type="b",col="blue")
これで重森三玲ができそうだ。