l.xyplot(x, avg[group.number], type = "l", col =
"black")
}
)
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home: mac...@northnet.com.au
-Original Message-
From: R-help [mailto:r-help-bo
[mailto:ulrik.ster...@gmail.com]
Sent: Wednesday, August 3, 2016 9:03 PM
To: lily li ; PIKAL Petr
Cc: R mailing list
Subject: Re: [R] how to plot annual values directly
You could use dplyr:
library(plyr)
ddply(df, .variables = "year", summarise, mean.precip = mean(precip))
Hope this h
rs
> > Petr
> >
> > > -Original Message-
> > > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of lily
> li
> > > Sent: Tuesday, August 2, 2016 8:10 PM
> > > To: R mailing list
> > > Subject: [R] how to plot annual values di
t sure if it is
> enough direct.
>
> Cheers
> Petr
>
> > -Original Message-
> > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of lily li
> > Sent: Tuesday, August 2, 2016 8:10 PM
> > To: R mailing list
> > Subject: [R] how to plot an
: Tuesday, August 2, 2016 8:10 PM
> To: R mailing list
> Subject: [R] how to plot annual values directly
>
> Hi R users,
>
> I have a dataframe, with daily precipitation data, is it possible to plot
> annual
> mean or annual sum values directly? Thanks for your help.
>
Hi R users,
I have a dataframe, with daily precipitation data, is it possible to plot
annual mean or annual sum values directly? Thanks for your help.
df
year month day precip time
2010 1 10.5 2010-01-01
2010 1 20.8 2010-01-02
2010
6 matches
Mail list logo