similar to: moving or running average

Displaying 20 results from an estimated 600 matches similar to: "moving or running average"

2007 Sep 28
3
orientlib
Hi All user, I have been using R-2.5.1. dose orientlib support this version? I would like to try. it. I have been wondering how to install the library. With regards, abu _________________________________________________________________ Celeb spotting ? Play CelebMashup and win cool prizes
2013 Feb 12
2
standard error very high in maximum liklihood fitting
Dear all, I have been trying to fit my data (only right censored) with gumbel distribution using fitdistrplus. I am getting very high standard error. I have been wondering why. The followings are the outputs: fit1=fitdistcens(dr0, "gumbel", start=list(a=99, b=0.6), optim.method= "L-BFGS-B", lower = 0.0, upper = Inf) > summary(fit1) FITTING OF THE DISTRIBUTION ' gumbel
2008 Nov 04
1
parcoord
Hi All, Could you please advise me how to put xlab for var1,var2,var3,.. in parcoord()? With regards, Abu _________________________________________________________________ Win £1000 John Lewis shopping sprees with BigSnapSearch.com [[alternative HTML version deleted]]
2007 Dec 21
2
(no subject)
Hi Jean, This is my last attempt at trying to use speex for a project we are working on. I have contacted you before, but i have had no joy what so ever trying to find a working example in c++ that shows how to add a header to a raw speex file, so that it an be played using windows. If you do know of a working example can you please supply a link. As this is a commercial project maybe you could
2007 Jul 26
1
Lohan the observable
Sorry, that name is a misnomer. However, I was excited to find that Ruby has a built in Observable module and I''m pretty bored, so I apologize in advance.... require ''observer'' # one who is observed class Celebrity include Observable attr_accessor :name attr_reader :is def is=(val) @is = val changed notify_observers(self) end end # one who
2006 Jul 20
3
How do I modify an exported function in a locked environment?
Running R.app on Mac OS X 10.4 > version _ platform powerpc-apple-darwin8.6.0 arch powerpc os darwin8.6.0 system powerpc, darwin8.6.0 status major 2 minor 3.1 year 2006
2006 Jul 20
3
How do I modify an exported function in a locked environment?
Running R.app on Mac OS X 10.4 > version _ platform powerpc-apple-darwin8.6.0 arch powerpc os darwin8.6.0 system powerpc, darwin8.6.0 status major 2 minor 3.1 year 2006
2007 Mar 15
2
Cannot allocate vector size of... ?
Hello all, I've been working with R & Fridolin Wild's lsa package a bit over the past few months, but I'm still pretty much a novice. I have a lot of files that I want to use to create a semantic space. When I begin to run the initial textmatrix( ), it runs for about 3-4 hours and eventually gives me an error. It's always "ERROR: cannot allocate vector size of xxx
2008 Jul 09
2
rollmean()
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 columns (days of the year) by 5,000 rows (lat/long coordinates). I would like to perform a 31 day running mean along the 365 days. I am new to R so any help would be greatly appreciated!
2017 Jun 28
2
help needed for RInside with Qt
Hello, I am developing an application using Qt framework and C++. I want to use R as statistics engine of my application. After doing some search on internet; I came to the conclusion that RCPP, MPI with RInside is what I need. The next logical task was to quickly tryout "qtdensity" project of RInside, for understanding the build and other settings. I hit some roadblock here and got
2008 Feb 13
4
rolling sum (like in Rmetrics package)
Hello, I'm new to R and would like to know how to create a vector of "rolling sums". (I have seen the Rmetrics package and the rollMean function and I would like to do the same thing except Sum instead of Mean.) I imagine someone has done this, I just can't find it anywhere. Example: x <- somevector #where x is 'n' entries long #what I would like to do is: x1
2010 Jan 02
1
Question on Reduce + rollmean
Hello useRs, I'd like to perform a moving average on the dataset, xx. I've tried combining the functions Reduce and rollmean but it didn't work. > r <- function(n) rollmean(n, 2) # where 2 = averaging interval > output < - Reduce("r", x) Error in f(init, x[[i]]) : unused argument(s) (x[[i]]) Is there anything wrong with the code in the first place? where
2002 Nov 09
2
importing data from Excel using RODBC
Hi, I used RODBC to import data from an Excel spreadsheet "*.xls", but some columns were returned as zeros. When I looked at these columns in Excel, I found that thery are results of formula calculations and not entry. My question is: Is there any parameter or command I need to use in order to overcome this problem? Thank you Ahmad Abu Hammour
2012 Mar 03
4
Sliding a Window in R
Dear all, I am having a vector of around 300.000 elements and I Want to slide fast a window from the first element until the last-Windowsize what I have so far is the following for statement:  for (i in 1:(length(data[,1]) - windowSize)) {         out[i] <- mean(data[i:(i + windowSize - 1), ])         elements[i]<-length(i:(i + windowSize - 1))       } but this of course takes ages to
2002 Apr 19
4
Durbin-Watson test in packages "car" and "lmtest"
Hi, P-values in Durbin-Watson test obtained through the use of functions available in packages "lmtest" and "car" are different. The difference is quite significant. function "dwtest" in "lmtest" is much faster than "burbinwatson" in "car". Actually, you can take a nap while the latter trying to calculated Durbin-Watson test. My question
2018 Apr 09
5
convert numeric variables to factor
Dear Sir, I have xlsx data set which I have imported to R studio. Now some of the variables are defined as numeric but I want define them as factor variable so that I run classification algorithm in R. Please to covert the variables. Thanks and Regards Abu Afzal PhD Eco JNU India
2009 Dec 10
1
Moving Averages in ggplot2
Hello all, Have some time series data stored in a data.frame, and am plotting it with ggplot2 (which is totally awesome). I have explored the documentation and mailing list archives, and I can't see any way to plot a 'smoother' that is just the K-step moving average. For example, imagine I had a data.frame called 'sleep' with 'date' as the date (from as.Date()) and
2010 Jul 17
5
Help with a problem
Hello R users, I am a researcher at the University of Michigan looking for a solution to an R problem. I have loaded my data in from a mysql database and it looks like this > data ds c1 c2 1 2010-04-03 100 0 2 2010-04-30 11141 15 3 2010-05-01 3 16 4 2010-05-02 7615 14 5 2010-05-03 6910 17 6 2010-05-04
2008 Jul 21
4
how to speed up this for loop?
Could anyone tell me a better way to achieve the output of this for loop? It seems to run quite slow. I'm sure there must be a more consise way to sum from FN to LN, excluding positive values, for each row. #sum between FN and LN, excluding positive values for(i in 1:R){ for(j in FN[i]:LN[i]){ if(Temp[i,j]<0) sum[i] <- sum[i] + sum(Temp[i,j])}} Cheers, R -- View this message in
2007 Nov 30
6
Generating a value
How do I generate a value in R from a poisson distribution with mean 20? Thanks! -- View this message in context: http://www.nabble.com/Generating-a-value-tf4922234.html#a14086120 Sent from the R help mailing list archive at Nabble.com.