Re: [R] Formula variable help

2011-11-11 Thread Kevin Burton
It seems that there is a bug in the forecast::tslm function. I have forwarded what I think is the bug (the call to get() should supply the argument 'envir=parent.frame()'). Thank you. On Nov 11, 2011, at 12:11 PM, Joshua Wiley wrote: > Seems like it could work---can you save your script as a

Re: [R] Formula variable help

2011-11-11 Thread Joshua Wiley
Seems like it could work---can you save your script as a .txt file and send it as an attachment, upload it online, or make a reproducible example? Cheers, Josh On Fri, Nov 11, 2011 at 9:52 AM, wrote: > > I have an R script with the following applicable lines: > >                xshort <- windo

[R] Formula variable help

2011-11-11 Thread rkevinburton
I have an R script with the following applicable lines: xshort <- window(s, start=st, end=ed) . . . xshort <- ts(xshort, frequency=1, start=1) . . . m1 <- m2 <- m3 <- m4 <- m5 <- m6 <- NULL m1 <- tslm(xshort ~ trend) I get an error: