Skip to content
Prev 17390 / 398513 Next

Regarding acf

Ravi Malayambakkam-n wrote:
Please read "An Introduction to R"! After that you can answer those
questions yourself!

Nevertheless, here's an example:

 mydf <- read.table(...)	# reads the file
 myts <- mydf[[1]]		# extracts first column
 library(ts)			# loads package ts
 acf(myts)			# calculates and plots acf


Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._