[R] Question about plotting related to roll-up

From: Coburn Watson <cpwww_at_comcast.net>
Date: Thu 01 Jul 2004 - 02:33:22 EST

Hello R'ers,

I have a large set of data which has many y samples for each unit x. The data might look like:

Seconds Response_time

----------    ----------------
0			0.150
0			0.202
0			0.065
1			0.110
1			0.280
2			0.230
2			0.156
3			0.070
3			0.185
3			0.255
3			0.311
3			0.120

.... and so on

When I do a basic plot with type=l or the default of points it obviously plots every point. What I would like to do is generate a line plot where the samples for each second are rolled up, averged and plotted with a bar which represents either std dev or some other aspect of variance. Can someone recommend a plotting mechanism to achieve this? I have adding lines using some of the smoothing functions but seem unable to remove the original plot line which is drawn (is there a way to just plot the data as feed through the smoothing function without the original data?).

Please remove "_nospam" from the email address to reply directly to me.


Coburn Watson
Software Performance Engineering
DST Innovis

R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jul 01 01:59:19 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 07:49:41 EST