From maechler@stat.math.ethz.ch  Tue Dec  4 09:27:14 2001
From: maechler@stat.math.ethz.ch (maechler@stat.math.ethz.ch)
Date: Tue, 4 Dec 2001 10:27:14 +0100 (MET)
Subject: [Rd] documentation for diff (PR#1185)
Message-ID: <200112040927.KAA18814@pubhealth.ku.dk>

>>>>> "PaulG" == Paul Gilbert <pgilbert@bank-banque-canada.ca> writes:

    PaulG> The documentation for diff says: If `x' is a vector
    PaulG> of length `n' and `differences=1', then the computed
    PaulG> result is equal to the successive differences
    PaulG> `x[(1:n-lag)] - x[(lag:n)]'. ...

    PaulG> This last line should say:

    PaulG>      `x[(1+lag):n] - x[1:(n-lag)]'.

Of course!
Thank you Paul; fix now committed.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] documentation for diff (PR#1185)
maechler@stat.math.ethz.ch