[R] plot autocovariance.
Jean-Christophe BOUËTTÉ
jcbouette at gmail.com
Fri Oct 7 16:26:56 CEST 2011
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.
>
More information about the R-help
mailing list