[R] doubt with auto.arima

2010-05-19 Thread yonosoyelmejor
hello, i have a doubt with this function, i need get the returns values because i have to save in a variables,something like this: Invernadero<-ts(x2) test<-auto.arima(x2) x2.pred.ar31<-predict(arima(x2,order=c(p,d,q)),n.ahead=10)$pred can i get "p","d" and "q" from "auto.arima"?this is

[R] doubt with auto.arima

2010-05-18 Thread yonosoyelmejor
hello, i have a doubt with this function, i need get the returns values because i have to save in a variables,something like this: Invernadero<-ts(x2) test<-auto.arima(x2) x2.pred.ar31<-predict(arima(x2,order=c(p,d,q)),n.ahead=10)$pred can i get "p","d" and "q" from "auto.arima"?this is my

[R] Arguments

2009-11-27 Thread yonosoyelmejor
hello,I would like to ask a question,Is there any way to pass arguments to a script?I have this code: Invernadero<-read.table(file.choose(),header=T,sep=",") attach(Invernadero) names(Invernadero) Invernadero<-ts(Invernadero<-argument) //Here introduce the argument plot(Hora,Invernadero,main=ar

Re: [R] Re adline()

2009-11-25 Thread yonosoyelmejor
script from the windows console (evidently), and as said, I > can't reproduce your error. Can you give me the exact command you use > to run it from the windows console? > > Cheers > Joris > > On Tue, Nov 24, 2009 at 7:33 PM, yonosoyelmejor > wrote: >> >> Sur

Re: [R] Method

2009-11-25 Thread yonosoyelmejor
ubtraction? > > And no, we still can't tell exactly what you want. If this doesn't > answer your question, > make a reproducible example with a short vector, your code that > doesn't work, and > the _result you expect to get_ so we can help you. > > Sarah

Re: [R] Method

2009-11-25 Thread yonosoyelmejor
s >> Sent: Tuesday, November 24, 2009 12:22 PM >> To: yonosoyelmejor >> Cc: r-help@r-project.org >> Subject: Re: [R] Method >> >> >> On Nov 24, 2009, at 1:44 PM, yonosoyelmejor wrote: >> >> > >> > I use length(myVector),but when i want t

Re: [R] Method

2009-11-24 Thread yonosoyelmejor
having explained, A gretting, Ignacio. Johannes Graumann-2 wrote: > > myVector <- c(seq(10),23,35) > length(myVector) > myVector[length(myVector)] > > it's unclear to me which of the two you want ... > > HTH, Joh > > yonosoyelmejor wrote: > >> >

Re: [R] Re adline()

2009-11-24 Thread yonosoyelmejor
ot; > > > You can try to look at ?announce (package odfWeave) instead of cat and > flush.console, but I have the slight impression there is something > else going wrong. > > Cheers > Joris > > > On Tue, Nov 24, 2009 at 11:10 AM, yonosoyelmejor > wrote: >

[R] Method

2009-11-24 Thread yonosoyelmejor
Hello, i would like to ask you another question. Is exist anymethod to vectors that tells me the last element?That is to say,I have a vector, I want to return the position of last element. I hope having explained. A greeting, Ignacio. -- View this message in context: http://old.nabble.com/Metho

Re: [R] Re adline()

2009-11-24 Thread yonosoyelmejor
I put that before selection but Nothing happened...I don´t know because when I executed the code, in the console doesn´t show cat("1-24hours)...and neither asked me Select numers of hours from de line or readline... Peter Dalgaard wrote: > > yonosoyelmejor wrote: >> Hello, I

[R] Re adline()

2009-11-23 Thread yonosoyelmejor
Hello, I would like to ask you a question.I have a program in R and I use the readline method to ask the user some things,but i don´t use the R console but I use Win console then not appear what I put.I put the code as you look for: cat("1- 24horas\n") cat("2- 12horas\n") cat("3- 8horas\n") selec