[R] Problem with ploting fitted values

Rui Barradas ruipbarradas at sapo.pt
Wed Dec 14 03:45:04 CET 2011


Hello,


matys wrote
> 
> Hello!
> I have such a problem...
> Estimated a model based on common data (you can find it in R library), and
> I wanted to plot the orginal values with the estimated one. Unfortunately
> I can only see the original values.
> 
> Below is the code with data library:
> 
> /
> library(forecast) 
> data(AirPassengers)
> AP <- AirPassengers
> class(AP)
> start(AP)
> end(AP)
> frequency(AP)
> lgAP <- log(AP)
> t<-2:length(AP)
> 

[...]

As I can see the "lines" command is trying to plot the value of the
transpose function!
You are using 't' as a variable name, choose something else, say, 'u' and
see if it
solves the problem. R does allow this use but it conflicts with normal
functioning.

Rui Barradas.




--
View this message in context: http://r.789695.n4.nabble.com/Problem-with-ploting-fitted-values-tp4192218p4193464.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list