[R] How to plot two dataset in one fig?

2005-11-18 Thread Wei Qiu
Hi all, I am new in R tool. I would like to plot two dataset in in fig. Here is what I did for both a and b data sets jpeg(file=a.jpeg) dat-read.table('a', header=F, sep=',') dim(dat) y-dat[,1] y-y[!is.na(y)] plot(y);lines(lowess(y, f=0.05), col = (red), lwd=5) dev.off Two questions: 1. How

Re: [R] How to plot two dataset in one fig?

2005-11-18 Thread Francisco J. Zagmutt
. Take a look at savePlot() to save your final figure. Francisco From: Wei Qiu [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Subject: [R] How to plot two dataset in one fig? Date: Fri, 18 Nov 2005 16:38:48 -0500 (EST) Hi all, I am new in R tool. I would like to plot two dataset in in fig