Skip to content

plot autocovariance.

2 messages · Chuse chuse, Jean-Christophe BOUËTTÉ

#
dDear all,

I have calculated a vector of autocovariances. When I plot it, the
variance appears at x-tick 1. How can i change the x-axis so that the
vector plot starts at zero?
Thank you beforehand.
Chuse.
#
Hi, let's say
x <- c(1,.5,.3,.1)

I assume you tried:
plot(x)

You can try:
plot(seq(x)-1,x)

Also take a look at ?acf
JC

2011/10/7 Chuse chuse <chuse22 at gmail.com>: