[R] When using ACF, receive error: no applicable method for 'ACF' applied to an object of class "c('double', 'numeric')"
evt
ethulin at gmail.com
Sun Nov 7 07:22:00 CET 2010
I am guessing this is a very simple question, but this is only my second day
with R so it is all still a bit imposing.
I am trying to run an autocorrelation.
I imported a CSV file, which has one column labeled "logistic".
I ran the command:
ACF(data$logistic,maxLag=10)
However, I received the error:
Error in UseMethod("ACF") :
no applicable method for 'ACF' applied to an object of class "c('double',
'numeric')"
I am thinking perhaps I need to change the data type, but I really don't
know how (or if that is even the problem).
Your suggestions are very much appreciated!
--
View this message in context: http://r.789695.n4.nabble.com/When-using-ACF-receive-error-no-applicable-method-for-ACF-applied-to-an-object-of-class-c-double-num-tp3030615p3030615.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list