Skip to content
Prev 22430 / 398502 Next

help with lagged scatterplot

Hi!

I'm not sure, if I understand you correctly, you want to plot nao at time t
against mei at time t-h. So lag.plot is not the right function because it plots
e.g. nao(t) against nao(t-h). Well, something along the lines

attach(data)
plot(mei[1:(length(mei)-h)],nao[-(1:h)])

should do what you want. (Negativ indices remove values from vectors or
matrices.)

Regards,

Winfried
On 06-Aug-02 Antonio wrote:
---------------------------------------------------------------------
E-Mail: Winfried Theis <theis at statistik.uni-dortmund.de>
Date: 06-Aug-02

Dipl.-Math. Winfried Theis
SFB 475, Fachbereich Statistik, Universit"at Dortmund, 44221 Dortmund
Tel.: +49-231-755-5903 FAX: +49-231-755-4387
----------------------------------------------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._