[R] Mean rain per rain day
drjimlemon at gmail.com
Wed May 13 14:08:30 CEST 2015
It looks like you have a number of daily rainfall values and you want
to get the mean rainfall on days where there was some rain. What you
probably want is:
You may have to add na.rm=TRUE if there are NAs in your data.
On Wed, May 13, 2015 at 4:38 PM, Frederic Ntirenganya <ntfredo at gmail.com> wrote:
> Hi All,
> I want to compute Mean rain per rain day from rainfall data but i don't
> know how to go about that. Anyone who understand the approach I can use can
> help me. In addition, I would like to have RScript which can help me to
> compute it. thanks.
> Frederic Ntirenganya
> Maseno University,
> African Maths Initiative,
> Email: fredo at aims.ac.za
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help