Message-ID: <CAJB=d4uGU4ryO6q+6NZJaoKz+Jeb8J5i9hcstcwvtcqqnz976g@mail.gmail.com>
Date: 2011-10-07T14:26:56Z
From: Jean-Christophe BOUËTTÉ
Subject: plot autocovariance.
In-Reply-To: <CANZw-E6tx1=nnDa7quFQZtopz8eMYHXY0u1k4uDJUS1GNNiWHQ@mail.gmail.com>
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>:
> 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.
>
> ______________________________________________
> R-help at r-project.org 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.
>