[R] A question about forecasting with R

2009-04-02 Thread minben
I want to forecaste the call number everyday for a call-center. Now I have removed the influence of the fluctuation with some method, so only thing left is to analyze the trend of the call number every day. I have thought of two ways: regression and HoltWinters smooth. But when I use regression, I

[R] How can I use R through command line?

2009-04-01 Thread minben
Suppose I have written a R program and saved it in test.R . How can I call the program in the command line? __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posti

[R] Does R support double-exponential smoothing?

2009-03-31 Thread minben
I want to use double-exponential smoothing to forecast time series datas,but I couldn't find it in the document,does R support this method? __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

[R] How to generate natural cubic spline in R?

2009-03-30 Thread minben
Suppose I have two var x and y,now I want to fits a natural cubic spline in x to y,at the same time create new var containing the smoothed values of y. How can I get it? __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PL

[R] How to generate a new column according to some rule?

2009-03-30 Thread minben
In a data frame I have a column "date" and a column "time",now I want to generate a new column which is the mean of the value of time group by date. In stata the command is egen scalls = mean(time),by(date) but I don't know the command in R, can anybody help me? _

[R] A simple problem

2009-03-29 Thread minben
I am a new R user. Now I have some problem while I use R. I have set up a data frame called "mydata". One of the colume of it was "skill". Now I want to select the observations of the frame whose "skill" value is 1,by what command can I get it? __ R-help

[R] Another question

2009-03-29 Thread minben
I want to add a colume to a data frame by some rules, in stata the command is "gen" or "egen" ,but what is it in R? __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.or

[R] A beginner's question

2009-03-27 Thread minben
I am a new R-language user. I have set up a data frame "mydata",one of the colume of which is "skill". Now I want to select the observations whose "skill" value is equal to 1,by what command can I get it? __ R-help@r-project.org mailing list https://stat