Re: [R] mean on a plot

2010-11-07 Thread romzero
Perfect. Thank you Joshua. -- View this message in context: http://r.789695.n4.nabble.com/mean-on-a-plot-tp3031068p3031267.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/

Re: [R] mean on a plot

2010-11-07 Thread Joshua Wiley
Hi Romzero, This gets the job done, though it is not the most elegant solution ever (for those I'd take a look at the ggplot2 or lattice packages). ## Read in data la <- read.table(textConnection(" DaysWeight 0 178.00 0 250.00 0 242.00 0 239.00 0 223.00 0

[R] mean on a plot

2010-11-07 Thread romzero
Hi, i need to draw a plot with means of values, reading a table from datafile. Example of datafile: DaysWeight 0 178.00 0 250.00 0 242.00 0 239.00 0 223.00 0 188.00 0 237.00 0 212.00 0 273.00 0 191.00 0 173.00 0 233.00 0