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.
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.