Re: [R] mean of runoff for several years

2011-03-23 Thread Clint Bowman
Dominique, Let's call your dataframe, df. Then try: with(df, boxplot(runoff ~ month)) which will plot the daily runoff distribution by month. Clint -- Clint BowmanINTERNET: cl...@ecy.wa.gov Air Quality Modeler INTERNET: cl...@math.utah.edu Departme

Re: [R] mean of runoff for several years

2011-03-23 Thread Peter Alspach
Thursday, 24 March 2011 9:14 a.m. > To: r-help@r-project.org > Subject: [R] mean of runoff for several years > > Hello everyone > I have a dataframe with 4 colums (year, month, day, runoff) for 1993- > 2009. > Now I like to calculate the average runoff for each day. Finally I like

[R] mean of runoff for several years

2011-03-23 Thread dominique
Hello everyone I have a dataframe with 4 colums (year, month, day, runoff) for 1993-2009. Now I like to calculate the average runoff for each day. Finally I like to plot the median runoff for all this years. I tried with some loops, but it didn't work. Do you have any Tips for my problem? Any help