[R] Can R do rts (Regular Time Series) like S-Plus?

2008-04-29 Thread Louise Hoffman
Dear readers, S-Plus have a rts function (Regular Time Series), which is used like so: fveks-read.csv('http://louise.hoffman.googlepages.com/veks.csv',header=TRUE,sep=',') attach(fveks) acf(ts.intersect(rts(HC.f),rts(Ta.f),rts(GR.f),rts(W.f))) Warning the csv file is 750kB. Can the same be

Re: [R] Make plots with GNUplot. Have anyone tried that?

2008-03-02 Thread Louise Hoffman
There is a very basic interface between R and gnuplot in the TeachingDemos package. Look at the help for gp.plot. [snip] This looks mighty interesting =) Is it possible to plot with lines (gnuplot syntex) so all the data points are connected? Also is it possible to make it write the output

[R] Need help to locate my mistake

2008-03-02 Thread Louise Hoffman
Dear readers I would like to make General Linear Model (GLM) for the following data set http://louise.hoffman.googlepages.com/fuel.csv The code I have written is fuelData-read.table('fuel.csv',header=TRUE, sep=',') n-dim(fuelData)[1] xOnes- matrix(1,nrow=n,ncol=1) x-cbind(xOnes,fuelData[,3])

Re: [R] emacs and R

2008-03-02 Thread Louise Hoffman
At the suggestion of many people, I have installed emacs on my linux (Fedora 8.0) computer with the intention of using emacs as window interface to R (2.6.0). I have gone though the emacs tutorial and don't see any information about how I should use emacs to run R. Can anyone suggest a

Re: [R] Need help to locate my mistake

2008-03-02 Thread Louise Hoffman
This is certainly ***NOT*** correct. (If you really got those numbers from Matlab, then Matlab is up to Puttee.) It was my mistake =) I had calculated the straight line so the edge of the plot was the y-axis =) Have you plotted your data? (1) Fitting a straight line is

[R] Make plots with GNUplot. Have anyone tried that?

2008-02-29 Thread Louise Hoffman
Dear readers, I would like to use GNUplot for the plots, but I can't find any information on how to do that. Have anyone tried that? =) Hugs, Louise __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Make plots with GNUplot. Have anyone tried that?

2008-02-29 Thread Louise Hoffman
[snip] Seriously. Be specific if you have a problem. (read the posting guide). R can also plot. If you don't like R's plots (which I could not understand) you can export data and import them to gnuplot. So what? Okay, my post was not very good. The reason (I think) I need GNUplot, is that

Re: [R] Make plots with GNUplot. Have anyone tried that?

2008-02-29 Thread Louise Hoffman
If you still want to then read ?write.table, that can export your data into a spreadsheet-like ascii format which can be used from GNUplot easily. Very interesting. So if I e.g. write: ts.sim - arima.sim(list(order = c(1,1,0), ar = 0.7), n = 200) ts.plot(ts.sim) How do I know the names of