The R Project SVN R

Rev

Rev 59039 | Rev 84928 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 59039 Rev 61150
Line 35... Line 35...
35
  \code{"\link{Date}"}.
35
  \code{"\link{Date}"}.
36
 
36
 
37
  \code{\link{NA}}'s propagate.
37
  \code{\link{NA}}'s propagate.
38
}
38
}
39
\value{
39
\value{
40
  If \code{x} is a vector of length \code{n} and \code{differences=1},
40
  If \code{x} is a vector of length \code{n} and \code{differences = 1},
41
  then the computed result is equal to the successive differences
41
  then the computed result is equal to the successive differences
42
  \code{x[(1+lag):n] - x[1:(n-lag)]}.
42
  \code{x[(1+lag):n] - x[1:(n-lag)]}.
43
 
43
 
44
  If \code{difference} is larger than one this algorithm is applied
44
  If \code{difference} is larger than one this algorithm is applied
45
  recursively to \code{x}.
45
  recursively to \code{x}.