Skip to content
Back to formatted view

Raw Message

Message-ID: <3D50C51F.F5E0AAEB@statistik.uni-dortmund.de>
Date: 2002-08-07T06:58:39Z
From: Uwe Ligges
Subject: help with lagged scatterplot

Antonio wrote:
> 
> Dear Winfried,
> 
> Thanks!!
> 
> Seems to work fine. So if I had correctly understand, if I want to plot NAO
> vs MEI-6 (6 months earlier) I need to write.
> 
> plot(mei[1:(length(mei)-6)],nao[-(1:6)])
> 
> It's OK?
> 
> As I have negative values for both variables I don't understand your note:
> 
> >(Negativ indices remove values from vectors or
> >matrices.)
> 
> What does it means. My negative values are interfering some way the output?

No. Winfried wrote about the *indices*, not values. He tried to point
you to the "-" in your nao[-(1:6)] , which removes the first 6 values of
nao.
Maybe it's a good idea to read "An Introduction to R".

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._