Skip to content
Prev 17034 / 398503 Next

Plotting multiple columns on same graph

Andrew,

What about preprocessing the dataset to remove NAs?


eomit<-na.omit(efficacy.df)
attach(eomit)
rs<-cbind(complicated, havesay, dontcare)
matplot(year, rs)
matlines(year, rs)




Scot


--
  Scot W. McNary  email:smcnary at charm.net
On Fri, 8 Feb 2002, Andrew Perrin wrote:

            
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._