Displaying 4 results from an estimated 4 matches for "makenamests".
Did you mean:
makenames
2016 Feb 09
2
problem plotting "ts" in a data.frame
...r wasting your time if you are
already familiar with this.
Spencer Graves
> y.ts <- ts(2:4, 5)
> XY <- data.frame(x1=6:8, y1=y.ts)
> plot(y1~x1, XY)
Error in plot.window(...) : need finite 'xlim' values
In addition: Warning messages:
1: In .cbind.ts(list(...), .makeNamesTs(...), dframe = dframe, union =
FALSE) :
non-intersecting series
2: In min(x) : no non-missing arguments to min; returning Inf
3: In max(x) : no non-missing arguments to max; returning -Inf
4: In min(x) : no non-missing arguments to min; returning Inf
5: In max(x) : no non-missing arguments to m...
2010 May 02
0
how to plot forecast together with historical series in OLS or special ARIMA model
...dict<-predict(ar2, n.ahead=5))
but when I try to plot it with codes that were used in ARIMA the program reports the mistake:
'Error in ar1.predict$pred : $ operator is invalid for atomic vectors'
If I try to do it without $:
ts.plot(HCPIlong,ar1.predict)
Error in .cbind.ts(list(...), .makeNamesTs(...), dframe = dframe, union = TRUE) :
non-time series not of the correct length
Does it exists the code how to plot it together with historical data or how to include the additional variable in the first ARIMA model?
Thank you in advance,
Olga
Series:
Year HCPI
1993 4.8
1994 2.91
1995 2.75
1...
2016 Feb 10
0
problem plotting "ts" in a data.frame
...his.
>
>
> Spencer Graves
>
>
> > y.ts <- ts(2:4, 5)
> > XY <- data.frame(x1=6:8, y1=y.ts)
> > plot(y1~x1, XY)
> Error in plot.window(...) : need finite 'xlim' values
> In addition: Warning messages:
> 1: In .cbind.ts(list(...), .makeNamesTs(...), dframe = dframe, union =
> FALSE) :
> non-intersecting series
> 2: In min(x) : no non-missing arguments to min; returning Inf
> 3: In max(x) : no non-missing arguments to max; returning -Inf
> 4: In min(x) : no non-missing arguments to min; returning Inf
> 5: In max(x) :...
2005 Sep 21
3
ts.intersect bug?
This code gives an error:
a <- ts(1:10, start=0, freq=10)
b <- ts(1:10, start=1, freq=10)
ts.intersect(a,b)
This one works normally (and correctly):
a <- ts(1:10, start=0)
b <- ts(1:10, start=1)
ts.intersect(a,b)
Antonio, Fabio Di Narzo.
P.S. How to switch off italian error messages to post on r-help?
> version
_
platform i386-pc-mingw32
arch i386
os