Re: [R] unidentified option(s) in mean.model

2017-02-25 Thread Allan Tanaka
Let me know if anything On Saturday, 25 February 2017, 23:18, Allan Tanaka wrote: Hi See attached txt On Saturday, 18 February 2017, 20:47, Rui Barradas wrote: Helo, No attachment came through. Change the file extension from .R to .txt and resend, there aren't many types o

Re: [R] unidentified option(s) in mean.model

2017-02-25 Thread Allan Tanaka
Hi See attached txt On Saturday, 18 February 2017, 20:47, Rui Barradas wrote: Helo, No attachment came through. Change the file extension from .R to .txt and resend, there aren't many types of files r-help accepts. Rui Barradas Em 17-02-2017 17:20, Allan Tanaka escreveu: > So i trie

Re: [R] unidentified option(s) in mean.model

2017-02-25 Thread Rui Barradas
Hello, You're right, but the equal sign outside the function call wasn't my doing. I should have noticed that the OP had used spec = ugarchspec(...) and '<-' inside the function call to assign values to the function's arguments, but I heven't, so I just corrected the '<-'. Rui Barradas Em

Re: [R] unidentified option(s) in mean.model

2017-02-25 Thread Jeff Newmiller
That was confusing. One equals sign is used to assign values (actual arguments) to function inputs (formal arguments). The assignment operator `<-` is used to assign values to variables in the current working environment. Due to popular demand, the single equals sign can ALSO be used for that

Re: [R] unidentified option(s) in mean.model

2017-02-25 Thread Rui Barradas
Hello, Your minimal reproducible example is not reproducible since we don't have acces to file "EURJPY.m1440.csv" and is far from minimal. Anyway, the best I can say is that you are using the attribution operator '<-' to set the values of a function's arguments when you should use '='. Try ins

Re: [R] unidentified option(s) in mean.model

2017-02-18 Thread Rui Barradas
Helo, No attachment came through. Change the file extension from .R to .txt and resend, there aren't many types of files r-help accepts. Rui Barradas Em 17-02-2017 17:20, Allan Tanaka escreveu: So i tried brute force to find best fitted GARCH model for prediction.The code works fine as it r

[R] unidentified option(s) in mean.model

2017-02-17 Thread Allan Tanaka
So i tried brute force to find best fitted GARCH model for prediction.The code works fine as it runs but at the end of processing, there's error like this: There were 50 or more warnings (use warnings() to see the first 50). So i type warnings(), then the error become:unidentified option(s) in m