hello, plot(running(-log10(results_chr_p$empi_p), fun=mean, width=41, font.axis=4, by=1),type="l",cex=0.1, ylab="-Log(p)", ylim=c(0,5.0), xlab=" ", lwd=2)
this is my code to make a plot. The problem is, now I want to add one more curve to the plot, which is for another variable in the data.frame -log10(results_chr_p$p). My question is: how to make multiple lines in one plot, especially when using the 'running' function in it?? thank you very much, karena -- View this message in context: http://r.789695.n4.nabble.com/how-to-make-multiple-curves-in-one-plot-tp3023135p3023135.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.