On Sat, Aug 21, 2010 at 3:01 AM, Gabor Grothendieck
wrote:
> On Fri, Aug 20, 2010 at 3:47 PM, Hall, Ken (CDC/OSELS/NCPHI)
> wrote:
I have also added some slightly simpler sqldf solutions here:
http://code.google.com/p/sqldf/#Example_16._Moving_Average
___
On Fri, Aug 20, 2010 at 3:47 PM, Hall, Ken (CDC/OSELS/NCPHI)
wrote:
> I am working on a simple pilot project comparing the capability of SQL,
> SAS and R to perform a rolling mean per the following instructions. I
> have completed the SQL and SAS analysis, so now it's R's turn.
>
> Calculate mean
I don't know if this is what you are after, but have a look at:
rollmean in the zoo package
hth
Stephen
On Fri, Aug 20, 2010 at 2:47 PM, Hall, Ken (CDC/OSELS/NCPHI)
wrote:
> I am working on a simple pilot project comparing the capability of SQL,
> SAS and R to perform a rolling mean per the fol
On Tue, 22 Jul 2008, stephen sefick wrote:
I need to investigate how rollmean and the trend returned from stl differ.
I am trying to find out exactly what the trend part of stl is (I have just
started coding in R and do not know fortran). I need to extract this
because it will be used in furthe
I am going to assume your data.frame is called x
#this transposes the matrix
x.t <- t(x)
rollmean(x.t)
On Wed, Jul 9, 2008 at 12:50 PM, Rheannon <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I am trying to calculate a 31 day running mean in some temperature data
> along ROWS. Rollmean() works great a
See ?t
On Wed, Jul 9, 2008 at 12:50 PM, Rheannon <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I am trying to calculate a 31 day running mean in some temperature data
> along ROWS. Rollmean() works great along columns, but how do I perform this
> same action on my rows?
>
> The data is a matrix of 365
6 matches
Mail list logo