[R] Plotting the mean of data

From: Kare Edvardsen <ked_at_nilu.no>
Date: Mon 02 Jan 2006 - 23:53:32 EST


Hi all!

I've got a datstructure like this:

subject week value

1	1	4
2	1	8
3	1	3
4	1	5

1	2	5
2	2	6
3	2	2
4	2	6

1	3	3
2	3	7
3	3	3
4	3	7

I'd like to plot the mean of 'value' against week. Is there a direct way of doing this or do I have to make a new structure with the calculated values and then plot it?

All the best!

-- 

###########################################
Kare Edvardsen <kare.edvardsen@nilu.no> Norwegian Institute for Air Research (NILU) Polarmiljosenteret NO-9296 Tromso http://www.nilu.no Swb. +47 77 75 03 75 Dir. +47 77 75 03 90 Fax. +47 77 75 03 76 Mob. +47 90 74 60 69
###########################################
______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Tue Jan 03 00:00:17 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:45 EST